Index: chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java |
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java |
index cd02595d8c2e8f70ba16068de3a6ef2c6eb40616..11e1ef39e8f1af5b542612ee2bb63d26d2d4b97a 100644 |
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java |
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeActivity.java |
@@ -469,6 +469,10 @@ public abstract class ChromeActivity extends AsyncInitializationActivity |
@Override |
public void initializeState() { |
super.initializeState(); |
+ mBlimpClientContextDelegate = |
+ ChromeBlimpClientContextDelegate.createAndSetDelegateForContext( |
+ Profile.getLastUsedProfile().getOriginalProfile()); |
+ |
IntentHandler.setTestIntentsEnabled( |
CommandLine.getInstance().hasSwitch(ContentSwitches.ENABLE_TEST_INTENTS)); |
mIntentHandler = new IntentHandler(createIntentHandlerDelegate(), getPackageName()); |
@@ -963,9 +967,6 @@ public abstract class ChromeActivity extends AsyncInitializationActivity |
DownloadManagerService.getDownloadManagerService( |
getApplicationContext()).onActivityLaunched(); |
- mBlimpClientContextDelegate = ChromeBlimpClientContextDelegate |
- .createAndSetDelegateForContext(Profile.getLastUsedProfile().getOriginalProfile()); |
- |
super.finishNativeInitialization(); |
} |