Chromium Code Reviews| Index: content/browser/renderer_host/buffered_resource_handler.cc |
| =================================================================== |
| --- content/browser/renderer_host/buffered_resource_handler.cc (revision 142991) |
| +++ content/browser/renderer_host/buffered_resource_handler.cc (working copy) |
| @@ -383,15 +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 {Async,CrossSite}ResourceHandler, if |
| - // any, from the request info because the {Async,CrossSite}ResourceHandler |
| - // (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. |
| next_handler_ = handler.Pass(); |
|
darin (slow to review)
2012/06/20 23:03:42
NOTE: The old ResourceHandler gets destroyed here
|