Index: chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
diff --git a/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc b/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
index f2df3e40edb1b437d9eb706180971ce71f97639c..41ff645f3517c81abbe3f4203c93f0cdc0724ed9 100644 |
--- a/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
+++ b/chrome/browser/password_manager/native_backend_kwallet_x_unittest.cc |
@@ -16,6 +16,7 @@ |
#include "base/callback.h" |
#include "base/location.h" |
#include "base/pickle.h" |
+#include "base/run_loop.h" |
#include "base/single_thread_task_runner.h" |
#include "base/stl_util.h" |
#include "base/strings/utf_string_conversions.h" |
@@ -414,7 +415,7 @@ void NativeBackendKWalletTest::SetUp() { |
void NativeBackendKWalletTest::TearDown() { |
base::ThreadTaskRunnerHandle::Get()->PostTask( |
FROM_HERE, base::MessageLoop::QuitWhenIdleClosure()); |
- base::MessageLoop::current()->Run(); |
+ base::RunLoop().Run(); |
db_thread_.Stop(); |
} |