| Index: content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
| diff --git a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
| index 881bfc0fe488378699dbba72edd7ddcad11bfac9..6cdc0a7247bf68bd73db5337cacb2297e3a7e944 100644
|
| --- a/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
| +++ b/content/shell/android/shell_apk/src/org/chromium/content_shell_apk/ContentShellActivity.java
|
| @@ -14,6 +14,7 @@ import android.widget.Toast;
|
|
|
| import org.chromium.base.BaseSwitches;
|
| import org.chromium.base.CommandLine;
|
| +import org.chromium.base.ContextUtils;
|
| import org.chromium.base.MemoryPressureListener;
|
| import org.chromium.base.annotations.SuppressFBWarnings;
|
| import org.chromium.base.library_loader.LibraryLoader;
|
| @@ -60,6 +61,8 @@ public class ContentShellActivity extends Activity {
|
| waitForDebuggerIfNeeded();
|
|
|
| DeviceUtils.addDeviceSpecificUserAgentSwitch(this);
|
| +
|
| + ContextUtils.initApplicationContext(getApplicationContext());
|
| try {
|
| LibraryLoader.get(LibraryProcessType.PROCESS_BROWSER)
|
| .ensureInitialized(getApplicationContext());
|
|
|