| Index: content/browser/browser_plugin/browser_plugin_embedder.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_embedder.cc b/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| index 42f8f95fecf66711db69f519644aefb820de5801..30b47890802068aae42b6a698f0e063a8459f3ca 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_embedder.cc
|
| @@ -136,18 +136,8 @@ void BrowserPluginEmbedder::OnGuestCallback(
|
| : NULL;
|
| }
|
|
|
| - if (guest) {
|
| - // There is an implicit order expectation here:
|
| - // 1. The content embedder is made aware of the attachment.
|
| - // 2. BrowserPluginGuest::Attach is called.
|
| - // 3. The content embedder issues queued events if any that happened
|
| - // prior to attachment.
|
| - GetContentClient()->browser()->GuestWebContentsAttached(
|
| - guest->GetWebContents(),
|
| - GetWebContents(),
|
| - *extra_params);
|
| + if (guest)
|
| guest->Attach(GetWebContents(), params, *extra_params);
|
| - }
|
| }
|
|
|
| void BrowserPluginEmbedder::OnAttach(
|
|
|