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

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

Issue 11343041: Revert 164733 - Merge 164709 - Don't use CanonicalCookie::Create method for creating canonical cook… (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: 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
===================================================================
--- chrome/browser/browsing_data/browsing_data_cookie_helper.cc (revision 164906)
+++ chrome/browser/browsing_data/browsing_data_cookie_helper.cc (working copy)
@@ -147,7 +147,7 @@
// 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(
- new net::CanonicalCookie(url, parsed_cookie));
+ net::CanonicalCookie::Create(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