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

Unified Diff: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellUrlTest.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: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellUrlTest.java
diff --git a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellUrlTest.java b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellUrlTest.java
index 320839065b735f7814921283770e71a46aa4682f..0559c7883e42ddca71c5b2bc8962f2b19939d8ec 100644
--- a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellUrlTest.java
+++ b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellUrlTest.java
@@ -24,6 +24,6 @@ public class ContentShellUrlTest extends ContentShellTestBase {
assertNotNull(activity);
// Make sure that the URL is set as expected.
- assertEquals(URL, activity.getActiveShell().getContentViewCore().getUrl());
+ assertEquals(URL, activity.getActiveShell().getContentViewCore().getWebContents().getUrl());
}
}

Powered by Google App Engine
This is Rietveld 408576698