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

Unified Diff: chrome/browser/gtk/collected_cookies_gtk.cc

Issue 3033017: Merge 53186 - Before creating a content setting, check that you actually *can... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/collected_cookies_gtk.cc
===================================================================
--- chrome/browser/gtk/collected_cookies_gtk.cc (revision 53315)
+++ chrome/browser/gtk/collected_cookies_gtk.cc (working copy)
@@ -266,7 +266,7 @@
model, &iter, reinterpret_cast<GtkTreePath*>(item->data));
CookieTreeOriginNode* node = static_cast<CookieTreeOriginNode*>(
adapter->GetNode(&iter));
- if (!node->CanCreateContentException()) {
+ if (node->CanCreateContentException()) {
node->CreateContentException(
tab_contents_->profile()->GetHostContentSettingsMap(), setting);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698