From 58273075f8cfb37ebfb3c71c3917c33a3d4cc3b5 Mon Sep 17 00:00:00 2001 From: "darin@google.com" Date: Wed, 27 Aug 2008 06:33:18 +0000 Subject: 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 --- chrome/common/chrome_plugin_unittest.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'chrome/common/chrome_plugin_unittest.cc') 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_; -- cgit v1.1