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

Unified Diff: content/browser/renderer_host/cross_site_resource_handler.cc

Issue 10416003: RefCounted types should not have public destructors (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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: content/browser/renderer_host/cross_site_resource_handler.cc
diff --git a/content/browser/renderer_host/cross_site_resource_handler.cc b/content/browser/renderer_host/cross_site_resource_handler.cc
index 2c51e985562a53fc05361d21c5ce7f63a46fc4fa..73999b5dcd98900d018160fe83a5b29f4cd18d90 100644
--- a/content/browser/renderer_host/cross_site_resource_handler.cc
+++ b/content/browser/renderer_host/cross_site_resource_handler.cc
@@ -94,7 +94,8 @@ bool CrossSiteResourceHandler::OnResponseStarted(
// cross-site navigation, since we are unable to tell when to destroy it.
// See RenderViewHostManager::RendererAbortedProvisionalLoad.
if (info->is_download() ||
- (response->headers && response->headers->response_code() == 204)) {
+ (response->data.headers &&
+ response->data.headers->response_code() == 204)) {
return next_handler_->OnResponseStarted(request_id, response);
}

Powered by Google App Engine
This is Rietveld 408576698