| Index: content/browser/browser_plugin/browser_plugin_guest.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_guest.cc b/content/browser/browser_plugin/browser_plugin_guest.cc
|
| index 2b8e20dd248232d50bffe0bdf94a5d5457d210d7..fa72b21111d79b812cf51ec14641554bb08f35bb 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_guest.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_guest.cc
|
| @@ -36,7 +36,6 @@
|
| #include "content/common/host_shared_bitmap_manager.h"
|
| #include "content/common/input_messages.h"
|
| #include "content/common/site_isolation_policy.h"
|
| -#include "content/common/text_input_state.h"
|
| #include "content/common/view_messages.h"
|
| #include "content/public/browser/browser_context.h"
|
| #include "content/public/browser/browser_plugin_guest_manager.h"
|
| @@ -776,14 +775,6 @@
|
| void BrowserPluginGuest::OnDetach(int browser_plugin_instance_id) {
|
| if (!attached())
|
| return;
|
| -
|
| - // The BrowserPluginGuest loses the link to |owner_web_contents_|. Therefore,
|
| - // the RenderWidgetHostViewGuest will not get a chance to update its text
|
| - // input state which is tracked by |owner_web_contents_|.
|
| - // TODO(ekaramad): We should perform detaching through WebContentsImpl (
|
| - // inner WebContents detaching from outer WebContents). After this is fixed,
|
| - // we can remove this call to OnTextInputStateChanged (crbug.com/602640).
|
| - OnTextInputStateChanged(TextInputState());
|
|
|
| // This tells BrowserPluginGuest to queue up all IPCs to BrowserPlugin until
|
| // it's attached again.
|
|
|