Index: chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellUrlTest.java |
diff --git a/chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellUrlTest.java b/chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellUrlTest.java |
index 4f0fa57f2f296391c2f5a1f03c4e4c25e604a8a6..76a5143918129ce61edb9de2fdd29d92634e3d8a 100644 |
--- a/chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellUrlTest.java |
+++ b/chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellUrlTest.java |
@@ -64,9 +64,10 @@ public class ChromeShellUrlTest extends ChromeShellTestBase { |
ThreadUtils.runOnUiThreadBlocking(new Runnable() { |
@Override |
public void run() { |
- isShowingInterstitialPage.set(contentViewCore.get().isShowingInterstitialPage()); |
- url.set(contentViewCore.get().getUrl()); |
- title.set(contentViewCore.get().getTitle()); |
+ isShowingInterstitialPage.set(contentViewCore.get().getWebContents() |
+ .isShowingInterstitialPage()); |
+ url.set(contentViewCore.get().getWebContents().getUrl()); |
+ title.set(contentViewCore.get().getWebContents().getTitle()); |
} |
}); |
assertFalse("Showed interstitial page instead of welcome page", |