Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Unified Diff: components/password_manager/core/browser/statistics_table_unittest.cc

Issue 2421383003: Add operator==(const GURL&, const StringPiece&) to gurl.h (Closed)
Patch Set: remove comment Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/domain_reliability/monitor_unittest.cc ('k') | components/power/origin_power_map_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « components/domain_reliability/monitor_unittest.cc ('k') | components/power/origin_power_map_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698