Index: content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
diff --git a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
index 3050b79e204e2cd5d03e7cb6c29c69e89f207742..341fcd3ce5dd1860b61a2983635a992f29ade105 100644 |
--- a/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
+++ b/content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java |
@@ -21,7 +21,6 @@ import org.chromium.base.annotations.JNINamespace; |
import org.chromium.content.browser.AppWebMessagePort; |
import org.chromium.content.browser.MediaSessionImpl; |
import org.chromium.content.browser.framehost.RenderFrameHostDelegate; |
-import org.chromium.content.browser.framehost.RenderFrameHostImpl; |
import org.chromium.content_public.browser.AccessibilitySnapshotCallback; |
import org.chromium.content_public.browser.AccessibilitySnapshotNode; |
import org.chromium.content_public.browser.ContentBitmapCallback; |
@@ -96,14 +95,6 @@ import java.util.UUID; |
} |
}; |
- public static WebContents fromRenderFrameHost(RenderFrameHost rfh) { |
- RenderFrameHostDelegate delegate = ((RenderFrameHostImpl) rfh).getRenderFrameHostDelegate(); |
- if (delegate == null || !(delegate instanceof WebContents)) { |
- return null; |
- } |
- return (WebContents) delegate; |
- } |
- |
private long mNativeWebContentsAndroid; |
private NavigationController mNavigationController; |
private RenderFrameHost mMainFrame; |