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 e64e16b74c4ba9178add284d807647f9009dc378..e6066cde1a80ffb183ce3679b4da20f34d6e960f 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(); |
} |