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

Unified Diff: Source/web/WebPluginScriptForbiddenScope.cpp

Issue 1170413003: Add a scoping object to help block scripting during plugin destruction. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rename static counter Created 5 years, 6 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/blink_platform.gypi ('k') | Source/web/web.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebPluginScriptForbiddenScope.cpp
diff --git a/Source/modules/webaudio/testing/InternalsWebAudio.cpp b/Source/web/WebPluginScriptForbiddenScope.cpp
similarity index 52%
copy from Source/modules/webaudio/testing/InternalsWebAudio.cpp
copy to Source/web/WebPluginScriptForbiddenScope.cpp
index 631b8abb2f75a26a595a1d7bd6926f237171dc23..7dbc0a7b76ac808fe1325e567c2699d06ed81d76 100644
--- a/Source/modules/webaudio/testing/InternalsWebAudio.cpp
+++ b/Source/web/WebPluginScriptForbiddenScope.cpp
@@ -3,15 +3,15 @@
// found in the LICENSE file.
#include "config.h"
-#include "modules/webaudio/testing/InternalsWebAudio.h"
+#include "public/web/WebPluginScriptForbiddenScope.h"
-#include "modules/webaudio/AudioNode.h"
+#include "platform/PluginScriptForbiddenScope.h"
namespace blink {
-unsigned InternalsWebAudio::audioHandlerCount(Internals& internals)
+bool WebPluginScriptForbiddenScope::isForbidden()
{
- return AudioHandler::instanceCount();
+ return PluginScriptForbiddenScope::isForbidden();
}
} // namespace blink
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/web/web.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698