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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerStartupTest.java

Issue 1471273002: Remove ContentMain.initApplicationContext. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/javatests/src/org/chromium/android_webview/test/CookieManagerStartupTest.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerStartupTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerStartupTest.java
index 6e67ed1a32f6bde58756e5839f0f1623289797da..65051028cb3e980278ee13c1eca6ce1460189829 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerStartupTest.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/CookieManagerStartupTest.java
@@ -14,8 +14,8 @@ import org.chromium.android_webview.AwCookieManager;
import org.chromium.android_webview.AwWebResourceResponse;
import org.chromium.android_webview.test.util.CommonResources;
import org.chromium.android_webview.test.util.CookieUtils;
+import org.chromium.base.ContextUtils;
import org.chromium.base.test.util.Feature;
-import org.chromium.content.app.ContentMain;
import org.chromium.net.test.util.TestWebServer;
@@ -30,7 +30,7 @@ public class CookieManagerStartupTest extends AwTestBase {
@Override
protected void setUp() throws Exception {
super.setUp();
- ContentMain.initApplicationContext(getActivity().getApplicationContext());
+ ContextUtils.initApplicationContext(getActivity().getApplicationContext());
}
@Override

Powered by Google App Engine
This is Rietveld 408576698