| Index: net/base/cookie_monster.cc
|
| ===================================================================
|
| --- net/base/cookie_monster.cc (revision 94320)
|
| +++ net/base/cookie_monster.cc (working copy)
|
| @@ -611,9 +611,7 @@
|
| callback.Run(success_);
|
| }
|
|
|
| -bool CookieMonster::InitializeFrom(CookieMonster* cookie_monster) {
|
| - net::CookieList list = cookie_monster->GetAllCookies();
|
| -
|
| +bool CookieMonster::InitializeFrom(const CookieList& list) {
|
| base::AutoLock autolock(lock_);
|
| InitIfNecessary();
|
| for (net::CookieList::const_iterator iter = list.begin();
|
|
|