Index: net/cookies/cookie_monster_unittest.cc |
diff --git a/net/cookies/cookie_monster_unittest.cc b/net/cookies/cookie_monster_unittest.cc |
index 173eced5d7c1d08f1f15148f7df47d14378358f9..c4df76558d7ccde4f6d40add0a4cbfca65bdbc51 100644 |
--- a/net/cookies/cookie_monster_unittest.cc |
+++ b/net/cookies/cookie_monster_unittest.cc |
@@ -778,7 +778,7 @@ class DeferredCookieTaskTest : public CookieMonsterTest { |
// Declares an expectation that PersistentCookieStore::LoadCookiesForKey |
// will be called, saving the provided callback and sending a quit to the |
// message loop. |
- void ExpectLoadForKeyCall(std::string key, bool quit_queue) { |
+ void ExpectLoadForKeyCall(const std::string& key, bool quit_queue) { |
if (quit_queue) |
EXPECT_CALL(*persistent_store_.get(), LoadCookiesForKey(key, testing::_)) |
.WillOnce( |