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

Unified Diff: content/public/android/javatests/src/org/chromium/content/browser/ViewportTest.java

Issue 572013002: Removing ContentViewCore dependencies from direct WebContents functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch and addressed review comments. Created 6 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: 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);
}

Powered by Google App Engine
This is Rietveld 408576698