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

Unified Diff: components/cronet/android/test/javatests/src/org/chromium/net/CronetTestBase.java

Issue 2406093002: Fix monochrome not booting issue (Closed)
Patch Set: Created 4 years, 2 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: components/cronet/android/test/javatests/src/org/chromium/net/CronetTestBase.java
diff --git a/components/cronet/android/test/javatests/src/org/chromium/net/CronetTestBase.java b/components/cronet/android/test/javatests/src/org/chromium/net/CronetTestBase.java
index fcec74d2de9d51e230e7ab2ef9eaf691ccddaff9..a82cd92fb02c6c61ccd23023f0596045a9dd1f00 100644
--- a/components/cronet/android/test/javatests/src/org/chromium/net/CronetTestBase.java
+++ b/components/cronet/android/test/javatests/src/org/chromium/net/CronetTestBase.java
@@ -6,7 +6,6 @@ package org.chromium.net;
import android.test.AndroidTestCase;
-import org.chromium.base.ContextUtils;
import org.chromium.base.PathUtils;
import java.lang.annotation.ElementType;
@@ -31,8 +30,7 @@ public class CronetTestBase extends AndroidTestCase {
@Override
protected void setUp() throws Exception {
super.setUp();
- ContextUtils.initApplicationContext(getContext().getApplicationContext());
- PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX);
+ PathUtils.setPrivateDataDirectorySuffix(PRIVATE_DATA_DIRECTORY_SUFFIX, getContext());
CronetTestFramework.prepareTestStorage(getContext());
}

Powered by Google App Engine
This is Rietveld 408576698