Index: net/cookies/cookie_monster.cc |
diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc |
index 15e4f7ee8e15f3514a2600bec9d926654c449eae..76f9d93506341ae883d669544d9416c9817051f3 100644 |
--- a/net/cookies/cookie_monster.cc |
+++ b/net/cookies/cookie_monster.cc |
@@ -1153,8 +1153,7 @@ bool CookieMonster::SetCookieWithDetails(const GURL& url, |
Time creation_time = CurrentTime(); |
last_time_seen_ = creation_time; |
- scoped_ptr<CanonicalCookie> cc; |
- cc.reset(CanonicalCookie::Create( |
+ scoped_ptr<CanonicalCookie> cc(CanonicalCookie::Create( |
url, name, value, domain, path, creation_time, expiration_time, secure, |
http_only, first_party_only, enforce_strict_secure, priority)); |