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

Unified Diff: android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java

Issue 481803004: Removing ContentViewCore dependencies from few functions which acts as direct wrapper to WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed nits. Created 6 years, 3 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: android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
diff --git a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
index db3dcd85cd2d8ea93fa2844086f5a8ca9cd2d97b..a7468527cb5e23c6f7808b6a642c016511dccb3a 100644
--- a/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
+++ b/android_webview/javatests/src/org/chromium/android_webview/test/AwTestBase.java
@@ -259,7 +259,8 @@ public class AwTestBase
getInstrumentation().runOnMainSync(new Runnable() {
@Override
public void run() {
- awContents.getContentViewCore().reload(true);
+ awContents.getContentViewCore().getWebContents().getNavigationController()
boliu 2014/09/13 00:38:53 awContents.getNativationController
AKVT 2014/09/13 11:30:50 Done.
+ .reload(true);
}
});
onPageFinishedHelper.waitForCallback(currentCallCount, 1, WAIT_TIMEOUT_MS,
@@ -355,7 +356,7 @@ public class AwTestBase
return runTestOnUiThreadAndGetResult(new Callable<String>() {
@Override
public String call() throws Exception {
- return awContents.getContentViewCore().getTitle();
+ return awContents.getTitle();
}
});
}

Powered by Google App Engine
This is Rietveld 408576698