Index: content/browser/web_contents/web_contents_impl.cc |
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc |
index 350f586d8dcd797d337b9559cf1ffad54f483f21..51b9177457e1af899003fd4dcc2cf9f4a6a6d154 100644 |
--- a/content/browser/web_contents/web_contents_impl.cc |
+++ b/content/browser/web_contents/web_contents_impl.cc |
@@ -464,9 +464,7 @@ WebContentsImpl* WebContentsImpl::CreateWithOpener( |
if (params.guest_delegate) { |
// This makes |new_contents| act as a guest. |
// For more info, see comment above class BrowserPluginGuest. |
- BrowserPluginGuest::Create(params.guest_delegate->GetGuestInstanceID(), |
- new_contents, |
- params.guest_delegate); |
+ BrowserPluginGuest::Create(new_contents, params.guest_delegate); |
// We are instantiating a WebContents for browser plugin. Set its subframe |
// bit to true. |
new_contents->is_subframe_ = true; |