Index: chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java b/chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java |
index 019a20387104a90f30df1e584e4ed2bc472181e2..3aca4b08e7045e1383317f2c29475be5d20e84d6 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/init/ChromeBrowserInitializer.java |
@@ -182,7 +182,7 @@ public class ChromeBrowserInitializer { |
private void preInflationStartup() { |
ThreadUtils.assertOnUiThread(); |
if (mPreInflationStartupComplete) return; |
- PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX); |
+ PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, mApplication); |
// Ensure critical files are available, so they aren't blocked on the file-system |
// behind long-running accesses in next phase. |
@@ -208,7 +208,7 @@ public class ChromeBrowserInitializer { |
// Check to see if we need to extract any new resources from the APK. This could |
// be on first run when we need to extract all the .pak files we need, or after |
// the user has switched locale, in which case we want new locale resources. |
- ResourceExtractor.get().startExtractingResources(); |
+ ResourceExtractor.get(mApplication).startExtractingResources(); |
mPostInflationStartupComplete = true; |
} |