Index: content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java b/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java |
index 365fc682b1b912751f7a3ce31282c0589f88e67b..9728f5e531c4e732493ca76d44c0730567ec1f5f 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java |
@@ -290,7 +290,7 @@ public class BrowserStartupController { |
// Normally Main.java will have kicked this off asynchronously for Chrome. But other |
// ContentView apps like tests also need them so we make sure we've extracted resources |
// here. We can still make it a little async (wait until the library is loaded). |
- ResourceExtractor resourceExtractor = ResourceExtractor.get(); |
+ ResourceExtractor resourceExtractor = ResourceExtractor.get(mContext); |
resourceExtractor.startExtractingResources(); |
// This strictmode exception is to cover the case where the browser process is being started |
@@ -336,7 +336,7 @@ public class BrowserStartupController { |
* Initialization needed for tests. Mainly used by content browsertests. |
*/ |
public void initChromiumBrowserProcessForTests() { |
- ResourceExtractor resourceExtractor = ResourceExtractor.get(); |
+ ResourceExtractor resourceExtractor = ResourceExtractor.get(mContext); |
resourceExtractor.startExtractingResources(); |
resourceExtractor.waitForCompletion(); |
nativeSetCommandLineFlags(false, null); |