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()); |
} |