Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Unified Diff: content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java

Issue 2404253003: Reland #2 of Fix monochrome not booting issue (Closed)
Patch Set: Change default back to loading locales from disk Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 9728f5e531c4e732493ca76d44c0730567ec1f5f..365fc682b1b912751f7a3ce31282c0589f88e67b 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(mContext);
+ ResourceExtractor resourceExtractor = ResourceExtractor.get();
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(mContext);
+ ResourceExtractor resourceExtractor = ResourceExtractor.get();
resourceExtractor.startExtractingResources();
resourceExtractor.waitForCompletion();
nativeSetCommandLineFlags(false, null);

Powered by Google App Engine
This is Rietveld 408576698