Index: android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java |
diff --git a/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java b/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java |
index 05a88dce372d0df1310b4f8821f2cd38d4ddbb3d..0498709e0b9eb1bdee98a2a39545b37273dc7817 100644 |
--- a/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java |
+++ b/android_webview/tools/system_webview_shell/layout_tests/src/org/chromium/webview_shell/test/WebViewLayoutTest.java |
@@ -4,7 +4,6 @@ |
package org.chromium.webview_shell.test; |
-import android.os.Environment; |
import android.test.ActivityInstrumentationTestCase2; |
import android.test.suitebuilder.annotation.MediumTest; |
@@ -12,6 +11,7 @@ import junit.framework.ComparisonFailure; |
import org.chromium.base.Log; |
import org.chromium.base.test.util.DisabledTest; |
+import org.chromium.base.test.util.UrlUtils; |
import org.chromium.webview_shell.WebViewLayoutTestActivity; |
import java.io.BufferedReader; |
@@ -34,8 +34,7 @@ public class WebViewLayoutTest |
private static final String TAG = "WebViewLayoutTest"; |
- private static final String EXTERNAL_PREFIX = |
- Environment.getExternalStorageDirectory().getAbsolutePath() + "/"; |
+ private static final String EXTERNAL_PREFIX = UrlUtils.getIsolatedTestRoot() + "/"; |
private static final String BASE_WEBVIEW_TEST_PATH = |
"android_webview/tools/system_webview_shell/test/data/"; |
private static final String BASE_BLINK_TEST_PATH = "third_party/WebKit/LayoutTests/"; |