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

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

Issue 10568005: Balance defers with Resume. (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 142108)
+++ content/browser/renderer_host/buffered_resource_handler.cc (working copy)
@@ -387,12 +387,13 @@
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,
+ // XXX Remove the non-owning pointer to the CrossSiteResourceHandler, if any,
jam 2012/06/19 06:03:34 ?
// 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);
+ info->set_async_handler(NULL);
// This is handled entirely within the new ResourceHandler, so just reset the
// original ResourceHandler.

Powered by Google App Engine
This is Rietveld 408576698