Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2488)

Unified Diff: Source/web/WebPluginContainerImpl.cpp

Issue 403133002: Suppress ScriptForbiddenScope in Document.cpp and FrameView.cpp in release mode (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/ScriptForbiddenScope.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/platform/ScriptForbiddenScope.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698