Index: components/password_manager/core/browser/password_reuse_detection_manager_unittest.cc |
diff --git a/components/password_manager/core/browser/password_reuse_detection_manager_unittest.cc b/components/password_manager/core/browser/password_reuse_detection_manager_unittest.cc |
index a2a4557eceb2bdb50bc182e60803a927374290e3..3dadcc79450071416213c10f7bbe0dbeb82f7603 100644 |
--- a/components/password_manager/core/browser/password_reuse_detection_manager_unittest.cc |
+++ b/components/password_manager/core/browser/password_reuse_detection_manager_unittest.cc |
@@ -6,6 +6,7 @@ |
#include "base/run_loop.h" |
#include "base/strings/utf_string_conversions.h" |
+#include "base/test/scoped_task_environment.h" |
#include "components/password_manager/core/browser/mock_password_store.h" |
#include "components/password_manager/core/browser/stub_password_manager_client.h" |
#include "testing/gmock/include/gmock/gmock.h" |
@@ -48,7 +49,7 @@ class PasswordReuseDetectionManagerTest : public ::testing::Test { |
protected: |
// It's needed for an initialisation of thread runners that are used in |
// MockPasswordStore. |
- base::MessageLoop message_loop_; |
+ base::test::ScopedTaskEnvironment scoped_task_environment_; |
MockPasswordManagerClient client_; |
scoped_refptr<MockPasswordStore> store_; |