summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authoridanan@google.com <idanan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-22 17:01:44 +0000
committeridanan@google.com <idanan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-22 17:01:44 +0000
commit6e3bc5a97b00531844956761e9361bcca4a20808 (patch)
tree40d46d497dea6142bc76cfbc632257f413f6fca9 /chrome/browser
parentcc1025cdcc2c843e54552d2a1b9e58baf95c9d5f (diff)
downloadchromium_src-6e3bc5a97b00531844956761e9361bcca4a20808.zip
chromium_src-6e3bc5a97b00531844956761e9361bcca4a20808.tar.gz
chromium_src-6e3bc5a97b00531844956761e9361bcca4a20808.tar.bz2
Fix so that the doubleclick privacy blacklist does not interfere with Gmail
OnCookieSet changed so that a blacklist present but with no match still sets the cookie. BUG=none TEST=none Review URL: http://codereview.chromium.org/217016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26825 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/renderer_host/resource_message_filter.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/resource_message_filter.cc b/chrome/browser/renderer_host/resource_message_filter.cc
index 781543e..60f6bf6 100644
--- a/chrome/browser/renderer_host/resource_message_filter.cc
+++ b/chrome/browser/renderer_host/resource_message_filter.cc
@@ -460,10 +460,10 @@ void ResourceMessageFilter::OnSetCookie(const GURL& url,
context->cookie_store()->SetCookie(url, cookie);
}
delete match;
+ return;
}
- } else {
- context->cookie_store()->SetCookie(url, cookie);
}
+ context->cookie_store()->SetCookie(url, cookie);
}
}