Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index e2c8d46371a962eb35cd65d30b0b73cce1f4ce65..1846e2df54097da56eba1d5114ef56a2b6fddbfb 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -885,25 +885,6 @@ void ChromeContentBrowserClient::GuestWebContentsCreated( |
#endif // defined(ENABLE_EXTENSIONS) |
} |
-void ChromeContentBrowserClient::GuestWebContentsAttached( |
- WebContents* guest_web_contents, |
- WebContents* embedder_web_contents, |
- const base::DictionaryValue& extra_params) { |
-#if defined(ENABLE_EXTENSIONS) |
- GuestViewBase* guest = GuestViewBase::FromWebContents(guest_web_contents); |
- if (!guest) { |
- // It's ok to return here, since we could be running a browser plugin |
- // outside an extension, and don't need to attach a |
- // BrowserPluginGuestDelegate in that case; |
- // e.g. running with flag --enable-browser-plugin-for-all-view-types. |
- return; |
- } |
- guest->Attach(embedder_web_contents, extra_params); |
-#else |
- NOTREACHED(); |
-#endif // defined(ENABLE_EXTENSIONS) |
-} |
- |
void ChromeContentBrowserClient::RenderProcessWillLaunch( |
content::RenderProcessHost* host) { |
int id = host->GetID(); |