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

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

Issue 10599002: Fix HTML5 video streaming. (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
« no previous file with comments | « content/browser/renderer_host/cross_site_resource_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/resource_dispatcher_host_impl.cc
===================================================================
--- content/browser/renderer_host/resource_dispatcher_host_impl.cc (revision 142991)
+++ content/browser/renderer_host/resource_dispatcher_host_impl.cc (working copy)
@@ -1476,6 +1476,9 @@
IncrementOutstandingRequestsMemoryCost(-1 * info->memory_cost(),
info->GetChildID());
+
+ // A ResourceHandler must not outlive its associated URLRequest.
+ handler.reset();
return;
}
« no previous file with comments | « content/browser/renderer_host/cross_site_resource_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698