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

Unified Diff: android_webview/test/shell/src/org/chromium/android_webview/test/AwTestRunnerActivity.java

Issue 1879013002: 🍈 Unify application context usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove @CalledByNative Created 4 years, 8 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: 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);

Powered by Google App Engine
This is Rietveld 408576698