Index: chrome/browser/extensions/extension_cookies_helpers.cc |
=================================================================== |
--- chrome/browser/extensions/extension_cookies_helpers.cc (revision 50356) |
+++ chrome/browser/extensions/extension_cookies_helpers.cc (working copy) |
@@ -94,11 +94,12 @@ |
} |
void AppendMatchingCookiesToList( |
- const net::CookieMonster::CookieList& all_cookies, |
- const std::string& store_id, |
+ net::CookieStore* cookie_store, const std::string& store_id, |
const GURL& url, const DictionaryValue* details, |
const Extension* extension, |
ListValue* match_list) { |
+ net::CookieMonster::CookieList all_cookies = GetCookieListFromStore( |
+ cookie_store, url); |
net::CookieMonster::CookieList::const_iterator it; |
for (it = all_cookies.begin(); it != all_cookies.end(); ++it) { |
// Ignore any cookie whose domain doesn't match the extension's |