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

Unified Diff: net/base/cookie_monster_unittest.cc

Issue 8879031: Removing MessageLoop::QuitTask() from net/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. 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
« no previous file with comments | « no previous file | net/base/host_resolver_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_monster_unittest.cc
diff --git a/net/base/cookie_monster_unittest.cc b/net/base/cookie_monster_unittest.cc
index 0ae6e9d07ae98b16ee57a0bab0150a13b855c0fe..87df99c085f425397766e6c9b92fbf35d23a269d 100644
--- a/net/base/cookie_monster_unittest.cc
+++ b/net/base/cookie_monster_unittest.cc
@@ -108,7 +108,7 @@ class CookieCallback {
did_run_ = true;
EXPECT_EQ(expected_loop, MessageLoop::current());
- loop_to_quit_->PostTask(FROM_HERE, new MessageLoop::QuitTask);
+ loop_to_quit_->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
private:
@@ -953,7 +953,7 @@ class MockDeleteCookieCallback
};
ACTION(QuitCurrentMessageLoop) {
- MessageLoop::current()->PostTask(FROM_HERE, new MessageLoop::QuitTask());
+ MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
// TODO(erikwright): When the synchronous helpers 'GetCookies' etc. are removed,
« no previous file with comments | « no previous file | net/base/host_resolver_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698