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

Unified Diff: chrome/browser/password_manager/password_store_mac_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
Index: chrome/browser/password_manager/password_store_mac_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_mac_unittest.cc b/chrome/browser/password_manager/password_store_mac_unittest.cc
index 9895e4fea6b9b47a01c93712581b6d72f2b97703..96ae6b84b48c2a8dbc2bccd3e8f6d7a58ea7df7d 100644
--- a/chrome/browser/password_manager/password_store_mac_unittest.cc
+++ b/chrome/browser/password_manager/password_store_mac_unittest.cc
@@ -1798,8 +1798,9 @@ TEST_F(PasswordStoreMacTest, TestDisableAutoSignInForOrigins) {
EXPECT_FALSE(forms[1]->skip_zero_click);
store()->DisableAutoSignInForOrigins(
- base::Bind(&GURL::operator==, base::Unretained(&form_google->origin)),
- base::Closure());
+ base::Bind(static_cast<bool (*)(const GURL&, const GURL&)>(operator==),
+ form_google->origin),
+ base::Closure());
FinishAsyncProcessing();
EXPECT_TRUE(login_db()->GetAutoSignInLogins(&forms));

Powered by Google App Engine
This is Rietveld 408576698