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, |