Index: chrome/browser/renderer_host/resource_message_filter.cc |
=================================================================== |
--- chrome/browser/renderer_host/resource_message_filter.cc (revision 35707) |
+++ chrome/browser/renderer_host/resource_message_filter.cc (working copy) |
@@ -538,12 +538,7 @@ |
void ResourceMessageFilter::OnDeleteCookie(const GURL& url, |
const std::string& cookie_name) { |
URLRequestContext* context = GetRequestContextForURL(url); |
- net::CookieMonster* cookie_monster = context->cookie_store()-> |
- GetCookieMonster(); |
- if (!cookie_monster) |
- return; |
- |
- cookie_monster->DeleteCookie(url, cookie_name); |
+ context->cookie_store()->DeleteCookie(url, cookie_name); |
} |
#if defined(OS_WIN) // This hack is Windows-specific. |