diff options
author | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-27 06:33:18 +0000 |
---|---|---|
committer | darin@google.com <darin@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-27 06:33:18 +0000 |
commit | 58273075f8cfb37ebfb3c71c3917c33a3d4cc3b5 (patch) | |
tree | 1bf7fe494cd4f889a4b386ae543293242eddcee5 /chrome/common/chrome_plugin_unittest.cc | |
parent | 5ad44ca25ec7b90e0350ddf2c90d03672f1cd255 (diff) | |
download | chromium_src-58273075f8cfb37ebfb3c71c3917c33a3d4cc3b5.zip chromium_src-58273075f8cfb37ebfb3c71c3917c33a3d4cc3b5.tar.gz chromium_src-58273075f8cfb37ebfb3c71c3917c33a3d4cc3b5.tar.bz2 |
Explicitly call RunAllPending in the Teardown phase a few more unit tests to
prevent Purify from complaining about these pending tasks as MLKs.
TBR=erikkay
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1431 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/chrome_plugin_unittest.cc')
-rw-r--r-- | chrome/common/chrome_plugin_unittest.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/chrome_plugin_unittest.cc b/chrome/common/chrome_plugin_unittest.cc index f998755..7c6650e 100644 --- a/chrome/common/chrome_plugin_unittest.cc +++ b/chrome/common/chrome_plugin_unittest.cc @@ -60,6 +60,9 @@ class ChromePluginTest : public testing::Test, public URLRequest::Delegate { URLRequest::RegisterProtocolFactory("test", NULL); Profile::set_default_request_context(NULL); + + // Flush the message loop to make Purify happy. + message_loop_.RunAllPending(); } protected: MessageLoopForIO message_loop_; |