diff options
author | nasko <nasko@chromium.org> | 2016-03-14 12:03:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-14 19:06:41 +0000 |
commit | ca29db355bda7920295c4e70cac5c713fbe0d943 (patch) | |
tree | df1ccb143801b4cebfc31de8fbfd5caf686db81d | |
parent | 9bda258cd0a2addb91daa620c209d5eb9217ccd2 (diff) | |
download | chromium_src-ca29db355bda7920295c4e70cac5c713fbe0d943.zip chromium_src-ca29db355bda7920295c4e70cac5c713fbe0d943.tar.gz chromium_src-ca29db355bda7920295c4e70cac5c713fbe0d943.tar.bz2 |
Remove unused method WebContents::CreateSwappedOutRenderView.
BUG=357747
Review URL: https://codereview.chromium.org/1804613003
Cr-Commit-Position: refs/heads/master@{#381031}
-rw-r--r-- | content/browser/web_contents/web_contents_impl.cc | 7 | ||||
-rw-r--r-- | content/browser/web_contents/web_contents_impl.h | 6 |
2 files changed, 0 insertions, 13 deletions
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc index 7698123..4c9db9e 100644 --- a/content/browser/web_contents/web_contents_impl.cc +++ b/content/browser/web_contents/web_contents_impl.cc @@ -4366,13 +4366,6 @@ bool WebContentsImpl::AddMessageToConsole(int32_t level, source_id); } -int WebContentsImpl::CreateSwappedOutRenderView( - SiteInstance* instance) { - int render_view_routing_id = MSG_ROUTING_NONE; - GetRenderManager()->CreateRenderFrameProxy(instance); - return render_view_routing_id; -} - void WebContentsImpl::OnUserInteraction( RenderWidgetHostImpl* render_widget_host, const blink::WebInputEvent::Type type) { diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h index e809381..5255026 100644 --- a/content/browser/web_contents/web_contents_impl.h +++ b/content/browser/web_contents/web_contents_impl.h @@ -120,12 +120,6 @@ class CONTENT_EXPORT WebContentsImpl static WebContents* FromRenderFrameHostID(int render_process_host_id, int render_frame_host_id); - // Creates a swapped out RenderView. This is used by the browser plugin to - // create a swapped out RenderView in the embedder render process for the - // guest, to expose the guest's window object to the embedder. - // This returns the routing ID of the newly created swapped out RenderView. - int CreateSwappedOutRenderView(SiteInstance* instance); - // Complex initialization here. Specifically needed to avoid having // members call back into our virtual functions in the constructor. virtual void Init(const WebContents::CreateParams& params); |