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

Unified Diff: chrome/android/shell/javatests/src/org/chromium/chrome/shell/ChromeShellUrlTest.java

Issue 227803004: ContentView->ContentViewCore in ContentViewRenderView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 8 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 7dd0eb4c9dd0e3bfcf36c28642e7c87f9853208b..62ab37fbc0e5a1064fcb5120f49c23086cf88ab1 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
@@ -16,6 +16,9 @@ import java.util.Locale;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicReference;
+/**
+ * Basic sanity test for loading urls in ChromeShell.
+ */
public class ChromeShellUrlTest extends ChromeShellTestBase {
// URL used for base tests.
private static final String URL = "data:text";
@@ -101,7 +104,8 @@ public class ChromeShellUrlTest extends ChromeShellTestBase {
ContentViewRenderView contentViewRenderView =
new ContentViewRenderView(getInstrumentation().getTargetContext(),
activity.getWindowAndroid());
- contentViewRenderView.setCurrentContentView(activity.getActiveContentView());
+ contentViewRenderView.setCurrentContentViewCore(
+ activity.getActiveContentView().getContentViewCore());
Yaron 2014/04/07 18:48:32 I have plans to remove the extra hop |getContentVi
}
});
} catch (Throwable e) {

Powered by Google App Engine
This is Rietveld 408576698