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); |
} |