Chromium Code Reviews| 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) { |