Index: content/renderer/webplugin_delegate_proxy.cc |
diff --git a/content/renderer/webplugin_delegate_proxy.cc b/content/renderer/webplugin_delegate_proxy.cc |
index d319dbdfe64c2b02618c8ce14ecc901bd6fb4825..c8001d4d6f90709915db690c09cbc0e711c0aaea 100644 |
--- a/content/renderer/webplugin_delegate_proxy.cc |
+++ b/content/renderer/webplugin_delegate_proxy.cc |
@@ -12,6 +12,7 @@ |
#include <algorithm> |
+#include "base/auto_reset.h" |
#include "base/basictypes.h" |
#include "base/command_line.h" |
#include "base/file_util.h" |
@@ -276,6 +277,13 @@ bool WebPluginDelegateProxy::Initialize( |
const std::vector<std::string>& arg_values, |
webkit::npapi::WebPlugin* plugin, |
bool load_manually) { |
+#if defined(OS_MACOSX) |
+ // TODO(shess): Debugging for http://crbug.com/97285 . See comment |
+ // in plugin_channel_host.cc. |
+ AutoReset<bool> track_nested_removes( |
+ PluginChannelHost::GetRemoveTrackingFlag(), true); |
+#endif |
+ |
IPC::ChannelHandle channel_handle; |
if (!RenderThreadImpl::current()->Send(new ViewHostMsg_OpenChannelToPlugin( |
render_view_->routing_id(), url, page_url_, mime_type_, |