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

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

Issue 1694063002: Use GURLS instead of patterns in SetCookieSetting() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scoping_set_content_setting
Patch Set: fix bug in android Created 4 years, 9 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
Index: chrome/browser/browsing_data/cookies_tree_model.cc
diff --git a/chrome/browser/browsing_data/cookies_tree_model.cc b/chrome/browser/browsing_data/cookies_tree_model.cc
index 79befceef3ea7816288c5b2ecc1d1c8ea785e70f..04b1de590056aa2233de5009d89ae6e29de28ad7 100644
--- a/chrome/browser/browsing_data/cookies_tree_model.cc
+++ b/chrome/browser/browsing_data/cookies_tree_model.cc
@@ -767,9 +767,7 @@ void CookieTreeHostNode::CreateContentException(
cookie_settings->ResetCookieSetting(
ContentSettingsPattern::FromURLNoWildcard(url_),
ContentSettingsPattern::Wildcard());
- cookie_settings->SetCookieSetting(
- ContentSettingsPattern::FromURL(url_),
- ContentSettingsPattern::Wildcard(), setting);
+ cookie_settings->SetCookieSetting(url_, setting);
}
}

Powered by Google App Engine
This is Rietveld 408576698