Index: content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java b/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java |
index d23a626625e9d6d7c6e882df2ac3fda2dec7fef2..47fa6a73667ee6da97af9a6bbb46aaeb0870d363 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/InterstitialPageTest.java |
@@ -71,7 +71,7 @@ public class InterstitialPageTest extends ContentShellTestBase { |
@Override |
public Boolean call() throws Exception { |
return shouldBeShown |
- == getContentViewCore().isShowingInterstitialPage(); |
+ == getWebContents().isShowingInterstitialPage(); |
} |
}); |
} catch (ExecutionException e) { |
@@ -115,9 +115,8 @@ public class InterstitialPageTest extends ContentShellTestBase { |
new Callable<TestWebContentsObserverAndroid>() { |
@Override |
public TestWebContentsObserverAndroid call() throws Exception { |
- getContentViewCore().showInterstitialPage(URL, delegate); |
- return new TestWebContentsObserverAndroid( |
- getContentViewCore().getWebContents()); |
+ getWebContents().showInterstitialPage(URL, delegate.getNative()); |
+ return new TestWebContentsObserverAndroid(getWebContents()); |
} |
}); |