Index: content/public/android/javatests/src/org/chromium/content/browser/ViewportTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/ViewportTest.java b/content/public/android/javatests/src/org/chromium/content/browser/ViewportTest.java |
index 10a08013a28c2d68549d22d2dc2e67e52a12b8b0..4542a4a6f86ddb499c707faeb0b566881a38d32b 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/ViewportTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/ViewportTest.java |
@@ -17,7 +17,7 @@ import org.chromium.content.browser.test.util.JavaScriptUtils; |
public class ViewportTest extends ContentViewTestBase { |
protected String evaluateStringValue(String expression) throws Throwable { |
- return JavaScriptUtils.executeJavaScriptAndWaitForResult(getContentViewCore(), |
+ return JavaScriptUtils.executeJavaScriptAndWaitForResult(getWebContents(), |
expression); |
} |