Index: components/password_manager/core/browser/password_reuse_detector_unittest.cc |
diff --git a/components/password_manager/core/browser/password_reuse_detector_unittest.cc b/components/password_manager/core/browser/password_reuse_detector_unittest.cc |
index 94d2fa82665967e353f11145145f646ddc411f54..2f45d16d099c4c435e2c2ed4732d0ba7f081da0a 100644 |
--- a/components/password_manager/core/browser/password_reuse_detector_unittest.cc |
+++ b/components/password_manager/core/browser/password_reuse_detector_unittest.cc |
@@ -209,8 +209,9 @@ TEST(PasswordReuseDetectorTest, SyncPasswordReuseFound) { |
reuse_detector.SaveSyncPasswordHash(ASCIIToUTF16("sync_password")); |
- EXPECT_CALL(mockConsumer, OnReuseFound(ASCIIToUTF16("sync_password"), |
- "accounts.google.com", 1, 0)); |
+ EXPECT_CALL(mockConsumer, |
+ OnReuseFound(ASCIIToUTF16("sync_password"), |
+ std::string(kSyncPasswordDomain), 1, 0)); |
reuse_detector.CheckReuse(ASCIIToUTF16("sync_password"), "https://evil.com", |
&mockConsumer); |
} |