Index: content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellShellManagementTest.java |
diff --git a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellShellManagementTest.java b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellShellManagementTest.java |
index ddeac731fb0f5f85c2d5aa559fc61cb3bb574e79..a1ef29294cb036b897a620c2999c0d5ae25e083c 100644 |
--- a/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellShellManagementTest.java |
+++ b/content/shell/android/javatests/src/org/chromium/content_shell_apk/ContentShellShellManagementTest.java |
@@ -25,7 +25,8 @@ public class ContentShellShellManagementTest extends ContentShellTestBase { |
@Feature({"Main"}) |
public void testMultipleShellsLaunched() throws InterruptedException { |
final ContentShellActivity activity = launchContentShellWithUrl(TEST_PAGE_1); |
- assertEquals(TEST_PAGE_1, activity.getActiveShell().getContentViewCore().getUrl()); |
+ assertEquals(TEST_PAGE_1, activity.getActiveShell().getContentViewCore() |
+ .getWebContents().getUrl()); |
Shell previousActiveShell = activity.getActiveShell(); |
assertFalse(previousActiveShell.isDestroyed()); |
@@ -37,7 +38,8 @@ public class ContentShellShellManagementTest extends ContentShellTestBase { |
} |
}); |
waitForActiveShellToBeDoneLoading(); |
- assertEquals(TEST_PAGE_2, activity.getActiveShell().getContentViewCore().getUrl()); |
+ assertEquals(TEST_PAGE_2, activity.getActiveShell().getContentViewCore() |
+ .getWebContents().getUrl()); |
assertNotSame(previousActiveShell, activity.getActiveShell()); |
assertTrue(previousActiveShell.isDestroyed()); |