Index: android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
diff --git a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
index d87b6302986a60a3198532bfbb40e40e25118cbc..c3d4ccb7de5ba76a50daa003720fa47c743ac0bf 100644 |
--- a/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
+++ b/android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java |
@@ -13,6 +13,7 @@ import android.widget.LinearLayout; |
import org.chromium.android_webview.AwBrowserProcess; |
import org.chromium.android_webview.shell.AwShellResourceProvider; |
+import org.chromium.base.ContextUtils; |
/** |
* This is a lightweight activity for tests that only require WebView functionality. |
@@ -28,6 +29,7 @@ public class AwTestRunnerActivity extends Activity { |
super.onCreate(savedInstanceState); |
AwShellResourceProvider.registerResources(this); |
+ ContextUtils.initApplicationContext(getApplicationContext()); |
AwBrowserProcess.loadLibrary(this); |
mLinearLayout = new LinearLayout(this); |