Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(653)

Unified Diff: chrome/browser/browsing_data/browsing_data_cookie_helper.cc

Issue 11341011: Make the BrowsingDataCookieHelper create canonical cookies with the correct cookie-domain attribute. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data/browsing_data_cookie_helper.cc
diff --git a/chrome/browser/browsing_data/browsing_data_cookie_helper.cc b/chrome/browser/browsing_data/browsing_data_cookie_helper.cc
index f5378495c906a5a93ca653fefb1dfe5d788fc752..b9efa43891bf590b496ae963e8d8df3e11e62738 100644
--- a/chrome/browser/browsing_data/browsing_data_cookie_helper.cc
+++ b/chrome/browser/browsing_data/browsing_data_cookie_helper.cc
@@ -143,7 +143,7 @@ void CannedBrowsingDataCookieHelper::AddChangedCookie(
// form cookie line and the url don't have the same domain+registry, or url
// host isn't cookie domain or one of its subdomains.
scoped_ptr<net::CanonicalCookie> cookie(
- net::CanonicalCookie::Create(url, parsed_cookie));
+ new net::CanonicalCookie(url, parsed_cookie));
if (cookie.get())
AddCookie(frame_url, *cookie);
}
« no previous file with comments | « no previous file | chrome/browser/browsing_data/browsing_data_cookie_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698