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

Issue 164361: Refcounting BufferedResourceLoader (Closed)

Created:
11 years, 4 months ago by Alpha Left Google
Modified:
9 years, 6 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Refcounting BufferedResourceLoader BUG=18677 We do range request for <video> and <audio>, we used to destroy the ResourceLoaderBridge right after we cancel the request. But it turns out that this would leave an excessive amount of warnings in the renderer and also leaking of URLRequest in the browser. By refcounting BufferedResourceLoader (the container of ResourceLoaderBridge) that does resource loading for <video>, we can then destroy the ResourceLoaderBridge after request has completed. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23274

Patch Set 1 #

Total comments: 7

Patch Set 2 : done #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -74 lines) Patch
M webkit/glue/media/buffered_data_source.h View 3 chunks +6 lines, -4 lines 0 comments Download
M webkit/glue/media/buffered_data_source.cc View 8 chunks +50 lines, -25 lines 0 comments Download
M webkit/glue/media/buffered_data_source_unittest.cc View 1 20 chunks +32 lines, -45 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Alpha Left Google
Restarting the change here because I used the wonderful linux to upload this. :)
11 years, 4 months ago (2009-08-11 23:55:50 UTC) #1
scherkus (not reviewing)
http://codereview.chromium.org/164361/diff/1/4 File webkit/glue/media/buffered_data_source_unittest.cc (right): http://codereview.chromium.org/164361/diff/1/4#newcode39 Line 39: ACTION_P(RequestCanceled, loader) { comment what this does http://codereview.chromium.org/164361/diff/1/4#newcode139 ...
11 years, 4 months ago (2009-08-13 00:10:00 UTC) #2
Alpha Left Google
http://codereview.chromium.org/164361/diff/1/4 File webkit/glue/media/buffered_data_source_unittest.cc (right): http://codereview.chromium.org/164361/diff/1/4#newcode39 Line 39: ACTION_P(RequestCanceled, loader) { On 2009/08/13 00:10:01, scherkus wrote: ...
11 years, 4 months ago (2009-08-13 00:51:16 UTC) #3
scherkus (not reviewing)
11 years, 4 months ago (2009-08-13 00:52:08 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698