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

Unified Diff: third_party/WebKit/Source/platform/PluginScriptForbiddenScope.h

Issue 2828913003: Replace "nested message loop" with "nested run loop" in comments. (Closed)
Patch Set: rebase Created 3 years, 7 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
Index: third_party/WebKit/Source/platform/PluginScriptForbiddenScope.h
diff --git a/third_party/WebKit/Source/platform/PluginScriptForbiddenScope.h b/third_party/WebKit/Source/platform/PluginScriptForbiddenScope.h
index c44b8714f2efe5040e4819d6af3cf2532d58e5ba..2699b2608678b886fe7adc40707bb1673138b070 100644
--- a/third_party/WebKit/Source/platform/PluginScriptForbiddenScope.h
+++ b/third_party/WebKit/Source/platform/PluginScriptForbiddenScope.h
@@ -12,13 +12,13 @@
namespace blink {
// Similar to ScriptForbiddenScope, but more selective. This is intended to help
-// reduce the number of places where Flash can run a nested message loop as its
+// reduce the number of places where Flash can run a nested run loop as its
// plugin element is being destroyed. One of the reasons that Flash runs this
-// nested message loop is to allow Flash content to synchronously script the
+// nested run loop is to allow Flash content to synchronously script the
// page when the plugin element is destroyed.
//
// This is problematic for many reasons: the DOM may not be in a consistent
-// state, since Blink is in the middle of detaching nodes, nested message loops
+// state, since Blink is in the middle of detaching nodes, nested run loops
// can cause normally impossible conditions to occur (https://crbug.com/367210),
// etc.
//
@@ -35,9 +35,9 @@ namespace blink {
//
// Unfortunately, there are still ways for plugins to synchronously script
// during Document detach: if an unload handler removes a Flash plugin element,
-// that will run the nested message loop, etc. This scoper is intended to block
+// that will run the nested run loop, etc. This scoper is intended to block
// those usages, with the eventual goal that Frame detach will never have to run
-// a nested message loop.
+// a nested run loop.
class PLATFORM_EXPORT PluginScriptForbiddenScope final {
STACK_ALLOCATED();
WTF_MAKE_NONCOPYABLE(PluginScriptForbiddenScope);

Powered by Google App Engine
This is Rietveld 408576698