Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/Preferences.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/Preferences.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/Preferences.java |
index 502edf5787bf8b88ca263314891f9a557e57c32a..44ed46bc564cb609582acc0b098579a227aa4ed4 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/Preferences.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/Preferences.java |
@@ -32,6 +32,7 @@ import org.chromium.base.library_loader.ProcessInitException; |
import org.chromium.chrome.R; |
import org.chromium.chrome.browser.ChromeApplication; |
import org.chromium.chrome.browser.help.HelpAndFeedback; |
+import org.chromium.chrome.browser.init.ChromeBrowserInitializer; |
import org.chromium.chrome.browser.profiles.Profile; |
/** |
@@ -70,7 +71,7 @@ public class Preferences extends AppCompatActivity implements |
// killed, or for tests. This should happen before super.onCreate() because it might |
// recreate a fragment, and a fragment might depend on the native library. |
try { |
- ((ChromeApplication) getApplication()).startBrowserProcessesAndLoadLibrariesSync(true); |
+ ChromeBrowserInitializer.getInstance(this).handleSynchronousStartup(); |
} catch (ProcessInitException e) { |
Log.e(TAG, "Failed to start browser process.", e); |
// This can only ever happen, if at all, when the activity is started from an Android |