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

Unified Diff: chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.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 review comments and rebased the patch. 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: chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java
diff --git a/chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java b/chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java
index 01d160c8faa4f149dc8cdba0ae626d1ba06a5500..c11e001e9164b567578cbc2e2d56253236b40ebf 100644
--- a/chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java
+++ b/chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellTestBase.java
@@ -95,7 +95,8 @@ public class ChromeShellTestBase extends ActivityInstrumentationTestCase2<Chrome
ChromeShellTab tab = activity.getActiveTab();
if (tab != null) {
isLoaded.set(!tab.isLoading()
- && !TextUtils.isEmpty(tab.getContentViewCore().getUrl()));
+ && !TextUtils.isEmpty(tab.getContentViewCore()
+ .getWebContents().getUrl()));
} else {
isLoaded.set(false);
}

Powered by Google App Engine
This is Rietveld 408576698