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

Unified Diff: chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellUrlTest.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/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",

Powered by Google App Engine
This is Rietveld 408576698