Index: components/password_manager/core/browser/statistics_table_unittest.cc |
diff --git a/components/password_manager/core/browser/statistics_table_unittest.cc b/components/password_manager/core/browser/statistics_table_unittest.cc |
index adf1f0c7fef019081fb1f5fd5c8d28170772f202..d51aa286f440fa087bad41ec694cada54bf49148 100644 |
--- a/components/password_manager/core/browser/statistics_table_unittest.cc |
+++ b/components/password_manager/core/browser/statistics_table_unittest.cc |
@@ -143,7 +143,8 @@ TEST_F(StatisticsTableTest, RemoveStatsByOriginAndTime) { |
// Remove the entries with the timestamp 2 that are NOT matching |
// |kTestDomain3|. |
EXPECT_TRUE(db()->RemoveStatsByOriginAndTime( |
- base::Bind(&GURL::operator!=, base::Unretained(&stats3.origin_domain)), |
+ base::Bind(static_cast<bool (*)(const GURL&, const GURL&)>(operator!=), |
+ stats3.origin_domain), |
base::Time::FromTimeT(2), base::Time())); |
EXPECT_THAT(db()->GetRows(stats1.origin_domain), IsEmpty()); |
EXPECT_THAT(db()->GetRows(stats2.origin_domain), IsEmpty()); |