Index: content/public/android/javatests/src/org/chromium/content/browser/webcontents/WebContentsTest.java |
diff --git a/content/public/android/javatests/src/org/chromium/content/browser/webcontents/WebContentsTest.java b/content/public/android/javatests/src/org/chromium/content/browser/webcontents/WebContentsTest.java |
index 508a224d65af4f33bf5b1141ba08fdab805101f7..6b01ef2eb652b2733b80a008483f4792d69e5ba0 100644 |
--- a/content/public/android/javatests/src/org/chromium/content/browser/webcontents/WebContentsTest.java |
+++ b/content/public/android/javatests/src/org/chromium/content/browser/webcontents/WebContentsTest.java |
@@ -20,6 +20,7 @@ import org.chromium.base.test.BaseJUnit4ClassRunner; |
import org.chromium.base.test.util.UrlUtils; |
import org.chromium.content_public.browser.RenderFrameHost; |
import org.chromium.content_public.browser.WebContents; |
+import org.chromium.content_public.browser.WebContentsStatics; |
import org.chromium.content_shell.Shell; |
import org.chromium.content_shell_apk.ContentShellActivity; |
import org.chromium.content_shell_apk.ContentShellActivityTestRule; |
@@ -355,7 +356,8 @@ public class WebContentsTest { |
Assert.assertEquals("RenderFrameHost has incorrect last committed URL", TEST_URL_2, |
frameHost.getLastCommittedURL()); |
- WebContents associatedWebContents = WebContentsImpl.fromRenderFrameHost(frameHost); |
+ WebContents associatedWebContents = |
+ WebContentsStatics.fromRenderFrameHost(frameHost); |
Assert.assertEquals("RenderFrameHost associated with different WebContents", |
webContents, associatedWebContents); |
} |