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

Unified Diff: net/quic/chromium/quic_stream_factory_test.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 | « extensions/renderer/script_injection_manager.cc ('k') | url/gurl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/quic/chromium/quic_stream_factory_test.cc
diff --git a/net/quic/chromium/quic_stream_factory_test.cc b/net/quic/chromium/quic_stream_factory_test.cc
index e7c05d0c09b60b6fa065a908e5682de9b6a94c38..984674f0397ddc1bd3567c08fb113005c331298a 100644
--- a/net/quic/chromium/quic_stream_factory_test.cc
+++ b/net/quic/chromium/quic_stream_factory_test.cc
@@ -5214,8 +5214,8 @@ TEST_P(QuicStreamFactoryTest, ClearCachedStatesInCryptoConfig) {
// Clear cached states for the origin https://www.example.com:4433.
GURL origin("https://www.example.com:4433");
- factory_->ClearCachedStatesInCryptoConfig(
- base::Bind(&GURL::operator==, base::Unretained(&origin)));
+ factory_->ClearCachedStatesInCryptoConfig(base::Bind(
+ static_cast<bool (*)(const GURL&, const GURL&)>(::operator==), origin));
EXPECT_FALSE(test_cases[0].state->certs().empty());
EXPECT_FALSE(test_cases[1].state->certs().empty());
EXPECT_TRUE(test_cases[2].state->certs().empty());
« no previous file with comments | « extensions/renderer/script_injection_manager.cc ('k') | url/gurl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698