| Index: chrome/plugin/webplugin_delegate_stub.cc
|
| diff --git a/chrome/plugin/webplugin_delegate_stub.cc b/chrome/plugin/webplugin_delegate_stub.cc
|
| index a8a652fe8780cf18c1e136e05bbbb3151c1d3890..97a0adaeac408ba378e34c472d6f2b3fc38b5029 100644
|
| --- a/chrome/plugin/webplugin_delegate_stub.cc
|
| +++ b/chrome/plugin/webplugin_delegate_stub.cc
|
| @@ -146,8 +146,12 @@ void WebPluginDelegateStub::OnInit(const PluginMsg_Init_Params& params,
|
| #if defined(OS_WIN)
|
| parent = gfx::NativeViewFromId(params.containing_window);
|
| #elif defined(OS_LINUX)
|
| - PluginThread::current()->Send(new PluginProcessHostMsg_MapNativeViewId(
|
| - params.containing_window, &parent));
|
| + // This code is disabled, See issue 17110.
|
| + // The problem is that the XID can change at arbitrary times (e.g. when the
|
| + // tab is detached then reattached), so we need to be able to track these
|
| + // changes, and let the PluginInstance know.
|
| + // PluginThread::current()->Send(new PluginProcessHostMsg_MapNativeViewId(
|
| + // params.containing_window, &parent));
|
| #endif
|
| delegate_ = WebPluginDelegate::Create(path, mime_type_, parent);
|
|
|
|
|