Index: net/base/cookie_monster.cc |
diff --git a/net/base/cookie_monster.cc b/net/base/cookie_monster.cc |
index 44b110e55e537d76dde000f4fbc1bec90d6b2d99..f0bddf62f19cbdc32633d0a78fa3beaa1f7278b9 100644 |
--- a/net/base/cookie_monster.cc |
+++ b/net/base/cookie_monster.cc |
@@ -828,7 +828,7 @@ class CookieMonster::GetCookiesWithOptionsTask |
: public CookieMonster::CookieMonsterTask { |
public: |
GetCookiesWithOptionsTask(CookieMonster* cookie_monster, |
- GURL url, |
+ const GURL& url, |
const CookieOptions& options, |
const CookieMonster::GetCookiesCallback& callback) |
: CookieMonsterTask(cookie_monster), |
@@ -895,7 +895,7 @@ class CookieMonster::DeleteCookieTask |
: public CookieMonster::CookieMonsterTask { |
public: |
DeleteCookieTask(CookieMonster* cookie_monster, |
- GURL url, |
+ const GURL& url, |
const std::string& cookie_name, |
const base::Closure& callback) |
: CookieMonsterTask(cookie_monster), |