| Index: net/cookies/cookie_monster.cc
|
| diff --git a/net/cookies/cookie_monster.cc b/net/cookies/cookie_monster.cc
|
| index 76ca75f1d34a924c44dc3d2397b8272db89216b1..78cfda7b8a96c81a9788f21dfe66cace1940f3e6 100644
|
| --- a/net/cookies/cookie_monster.cc
|
| +++ b/net/cookies/cookie_monster.cc
|
| @@ -1807,8 +1807,8 @@ bool CookieMonster::SetCanonicalCookies(const CookieList& list) {
|
|
|
| for (const auto& cookie : list) {
|
| // Use an empty GURL. This method does not support setting secure cookies.
|
| - if (!SetCanonicalCookie(base::WrapUnique(new CanonicalCookie(cookie)),
|
| - GURL(), options)) {
|
| + if (!SetCanonicalCookie(base::MakeUnique<CanonicalCookie>(cookie), GURL(),
|
| + options)) {
|
| return false;
|
| }
|
| }
|
|
|