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

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

Issue 10644011: Revert r143458 (which re-applies r143341 and r142979). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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/buffered_resource_handler.cc
===================================================================
--- content/browser/renderer_host/buffered_resource_handler.cc (revision 143642)
+++ content/browser/renderer_host/buffered_resource_handler.cc (working copy)
@@ -383,13 +383,6 @@
net::URLRequestStatus status(net::URLRequestStatus::HANDLED_EXTERNALLY, 0);
next_handler_->OnResponseCompleted(request_id, status, std::string());
- // Remove the non-owning pointer to the CrossSiteResourceHandler, if any,
- // from the extra request info because the CrossSiteResourceHandler (part of
- // the original ResourceHandler chain) will be deleted by the next statement.
- ResourceRequestInfoImpl* info =
- ResourceRequestInfoImpl::ForRequest(request_);
- info->set_cross_site_handler(NULL);
-
// This is handled entirely within the new ResourceHandler, so just reset the
// original ResourceHandler.
next_handler_ = handler.Pass();

Powered by Google App Engine
This is Rietveld 408576698