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

Unified Diff: chrome/browser/extensions/user_script_master_unittest.cc

Issue 8873032: Removing MessageLoop::QuitTask() from chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Revert 3 more problematic files Created 9 years 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: chrome/browser/extensions/user_script_master_unittest.cc
diff --git a/chrome/browser/extensions/user_script_master_unittest.cc b/chrome/browser/extensions/user_script_master_unittest.cc
index ef6a172b9b93cbbd9065bb641bef0c8622fe09c4..bdea8478c79c02939628212b9a99f252b0abd29e 100644
--- a/chrome/browser/extensions/user_script_master_unittest.cc
+++ b/chrome/browser/extensions/user_script_master_unittest.cc
@@ -91,7 +91,7 @@ TEST_F(UserScriptMasterTest, NoScripts) {
TestingProfile profile;
scoped_refptr<UserScriptMaster> master(new UserScriptMaster(&profile));
master->StartLoad();
- message_loop_.PostTask(FROM_HERE, new MessageLoop::QuitTask);
+ message_loop_.PostTask(FROM_HERE, MessageLoop::QuitClosure());
message_loop_.Run();
ASSERT_TRUE(shared_memory_ != NULL);
« no previous file with comments | « chrome/browser/extensions/app_notification_manager_unittest.cc ('k') | chrome/browser/fast_shutdown_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698