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

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..1d49b34d5ff80a8175f156df7b00a892f170624f 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::SuppressScriptForbiddenScopeInRelease thisSuppressionShouldBeRemoved;
haraken 2014/07/19 03:39:49 It's scary we're invoking JavaScript inside a dest
sof 2014/07/19 06:14:43 I can't access that one (Cc: me if you like, might
+
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