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

Issue 10700125: Fold RestartLoadingTask() into ReadCallback() as the method is called on the render thread. (Closed)

Created:
8 years, 5 months ago by scherkus (not reviewing)
Modified:
8 years, 5 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Fold RestartLoadingTask() into ReadCallback() as the method is called on the render thread. This is the cache miss equivalent of r118386. We were unnecessarily posting a task to restart the HTTP request on a cache miss. On pages with heavy activity this can delay the load until the task can get executed. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=146281

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase tot #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -34 lines) Patch
M webkit/media/buffered_data_source.h View 1 1 chunk +3 lines, -6 lines 0 comments Download
M webkit/media/buffered_data_source.cc View 1 2 chunks +10 lines, -23 lines 0 comments Download
M webkit/media/buffered_resource_loader.cc View 1 2 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
scherkus (not reviewing)
Depends on https://chromiumcodereview.appspot.com/10735016/ I haven't done the benchmarking w/ a busy page (will be easier ...
8 years, 5 months ago (2012-07-06 17:25:49 UTC) #1
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/10700125/diff/1/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (right): https://chromiumcodereview.appspot.com/10700125/diff/1/webkit/media/buffered_data_source.cc#newcode416 webkit/media/buffered_data_source.cc:416: // Recreate a loader starting from where we last ...
8 years, 5 months ago (2012-07-10 02:48:25 UTC) #2
scherkus (not reviewing)
https://chromiumcodereview.appspot.com/10700125/diff/1/webkit/media/buffered_data_source.cc File webkit/media/buffered_data_source.cc (right): https://chromiumcodereview.appspot.com/10700125/diff/1/webkit/media/buffered_data_source.cc#newcode416 webkit/media/buffered_data_source.cc:416: // Recreate a loader starting from where we last ...
8 years, 5 months ago (2012-07-10 03:15:15 UTC) #3
Ami GONE FROM CHROMIUM
lgtm
8 years, 5 months ago (2012-07-10 03:27:21 UTC) #4
ivan_cobs.com.sg
Pls remove the following email adds from your list NOW ivan@cobs.com.sg lynn@cobs.com.sg -----Original Message----- From: ...
8 years, 5 months ago (2012-07-10 03:47:33 UTC) #5
scherkus (not reviewing)
I did some benchmarking -- on a simulated busy page using rAF() it does indeed ...
8 years, 5 months ago (2012-07-12 01:54:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scherkus@chromium.org/10700125/7001
8 years, 5 months ago (2012-07-12 01:54:19 UTC) #7
commit-bot: I haz the power
8 years, 5 months ago (2012-07-12 03:20:37 UTC) #8
Change committed as 146281

Powered by Google App Engine
This is Rietveld 408576698