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

Unified Diff: chrome/browser/sync/glue/http_bridge_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/sync/glue/http_bridge_unittest.cc
diff --git a/chrome/browser/sync/glue/http_bridge_unittest.cc b/chrome/browser/sync/glue/http_bridge_unittest.cc
index 05325ec1fe4f87229d8e84ca77d8d5e61f9772bb..0e8bedb5494b209a3a1f65b3875c0b79aa3d87bc 100644
--- a/chrome/browser/sync/glue/http_bridge_unittest.cc
+++ b/chrome/browser/sync/glue/http_bridge_unittest.cc
@@ -65,7 +65,7 @@ class HttpBridgeTest : public testing::Test {
http_bridge->GetRequestContextGetter()->
GetURLRequestContext()->
http_transaction_factory()->GetSession());
- main_message_loop->PostTask(FROM_HERE, new MessageLoop::QuitTask);
+ main_message_loop->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
MessageLoop* GetIOThreadLoop() {

Powered by Google App Engine
This is Rietveld 408576698