Index: Source/web/WebPluginContainerImpl.cpp |
diff --git a/Source/web/WebPluginContainerImpl.cpp b/Source/web/WebPluginContainerImpl.cpp |
index 4808407bbae8597afa6362b404616222c5ea9809..503a263eb08e14ab62c7ce5d5301569bb4772ce0 100644 |
--- a/Source/web/WebPluginContainerImpl.cpp |
+++ b/Source/web/WebPluginContainerImpl.cpp |
@@ -684,6 +684,8 @@ WebPluginContainerImpl::~WebPluginContainerImpl() |
m_element->document().didRemoveTouchEventHandler(m_element); |
#endif |
+ ScriptForbiddenScope::AllowSuperUnsafeScript thisShouldBeRemoved; |
+ |
for (size_t i = 0; i < m_pluginLoadObservers.size(); ++i) |
m_pluginLoadObservers[i]->clearPluginContainer(); |
m_webPlugin->destroy(); |