Index: android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java |
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java b/android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java |
index fd79a5ddab7451d951363bd5b7afda0ddb7227fd..d9263e4f32ebb1afbea133b6cdb45ca0beabf47a 100644 |
--- a/android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java |
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/LoadDataWithBaseUrlTest.java |
@@ -302,7 +302,6 @@ public class LoadDataWithBaseUrlTest extends AndroidWebViewTestBase { |
final String DATA_BASE_URL = "data:"; |
final String NON_DATA_BASE_URL = "http://example.com"; |
- AndroidProtocolHandler.setResourceContextForTesting(getInstrumentation().getContext()); |
mAwContents.getSettings().setAllowFileAccess(false); |
String token = "" + System.currentTimeMillis(); |
// All access to file://, including android_asset and android_res is blocked |
@@ -342,7 +341,6 @@ public class LoadDataWithBaseUrlTest extends AndroidWebViewTestBase { |
"file://" + imagePath + "?" + token)); |
} finally { |
if (!tempImage.delete()) throw new AssertionError(); |
- AndroidProtocolHandler.setResourceContextForTesting(null); |
} |
} |
} |