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

Unified Diff: chrome/browser/password_manager/native_backend_gnome_x_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/password_manager/native_backend_gnome_x_unittest.cc
diff --git a/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc b/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc
index ec57fcd6152b1f3056267f511ad3b2026cf38c06..6f2f8c1d2654e035ff7f259373cbd3c5b1369142 100644
--- a/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc
+++ b/chrome/browser/password_manager/native_backend_gnome_x_unittest.cc
@@ -307,7 +307,7 @@ class NativeBackendGnomeTest : public testing::Test {
}
virtual void TearDown() {
- MessageLoop::current()->PostTask(FROM_HERE, new MessageLoop::QuitTask);
+ MessageLoop::current()->PostTask(FROM_HERE, MessageLoop::QuitClosure());
MessageLoop::current()->Run();
db_thread_.Stop();
}
@@ -324,7 +324,7 @@ class NativeBackendGnomeTest : public testing::Test {
}
static void PostQuitTask(MessageLoop* loop) {
- loop->PostTask(FROM_HERE, new MessageLoop::QuitTask);
+ loop->PostTask(FROM_HERE, MessageLoop::QuitClosure());
}
void CheckUint32Attribute(const MockKeyringItem* item,
« no previous file with comments | « chrome/browser/net/predictor_unittest.cc ('k') | chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698