Don't use the deprecated .path() method in CFBundle OBJJ_PROGRESS_CALLBACK.

This commit is contained in:
Nicholas Small committed 2010-08-23 15:48:17 -04:00
1 parent b9086f134a
commit c9b02603bc
1 file changed
+1 -1
+1 -1
View File
@@ -344,7 +344,7 @@ function loadExecutableAndResources(/*Bundle*/ aBundle, /*BOOL*/ shouldExecute)
if ((typeof CPApp === "undefined" || !CPApp || !CPApp._finishedLaunching) &&
typeof OBJJ_PROGRESS_CALLBACK === "function" && CPApplicationSizeInBytes)
{
OBJJ_PROGRESS_CALLBACK(MAX(MIN(1.0, CFTotalBytesLoaded / CPApplicationSizeInBytes), 0.0), CPApplicationSizeInBytes, aBundle.path())
OBJJ_PROGRESS_CALLBACK(MAX(MIN(1.0, CFTotalBytesLoaded / CPApplicationSizeInBytes), 0.0), CPApplicationSizeInBytes, aBundle.bundlePath())
}
if (aBundle._loadStatus === CFBundleLoading)