diff options
author | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-13 22:31:05 +0000 |
---|---|---|
committer | darin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-13 22:31:05 +0000 |
commit | 6381687459d907895c9553eca21c1c056f00eaa7 (patch) | |
tree | 8c0807d99cd45f42fa49c3bf117b8f6769ac5ad7 /webkit/glue/plugins/pepper_plugin_module.cc | |
parent | 0b590b307ec6b305e23a6bf53cf3fbd15b2333ab (diff) | |
download | chromium_src-6381687459d907895c9553eca21c1c056f00eaa7.zip chromium_src-6381687459d907895c9553eca21c1c056f00eaa7.tar.gz chromium_src-6381687459d907895c9553eca21c1c056f00eaa7.tar.bz2 |
Implement QuitMessageLoop using QuitNow instead of Quit.
QuitNow prevents the MessageLoop from running any further tasks, whereas Quit
will continue running tasks until the message queue is empty.
This may help some of our tests run a little bit faster if nothing else.
R=brettw
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3319024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59295 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_plugin_module.cc')
-rw-r--r-- | webkit/glue/plugins/pepper_plugin_module.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/plugins/pepper_plugin_module.cc b/webkit/glue/plugins/pepper_plugin_module.cc index 4cbf192..230c31f 100644 --- a/webkit/glue/plugins/pepper_plugin_module.cc +++ b/webkit/glue/plugins/pepper_plugin_module.cc @@ -159,7 +159,7 @@ void RunMessageLoop() { } void QuitMessageLoop() { - MessageLoop::current()->Quit(); + MessageLoop::current()->QuitNow(); } uint32_t GetLiveObjectCount(PP_Module module_id) { |