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

Issue 7646016: Remove branch in WebMediaPlayerImpl that is never reached (Closed)

Created:
9 years, 4 months ago by Alpha Left Google
Modified:
9 years, 4 months ago
CC:
chromium-reviews, hclam+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, acolwell+watch_chromium.org, annacc+watch_chromium.org, darin-cc_chromium.org, ajwong+watch_chromium.org, vrk (LEFT CHROMIUM), scherkus (not reviewing)
Visibility:
Public.

Description

Remove branch in WebMediaPlayerImpl that is never reached Since bytes loaded never equal to total bytes if the resource is from http the branch is never reached and lead to confusion about the logic. This was discovered while working on other platforms. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=97133

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -12 lines) Patch
M webkit/glue/webmediaplayer_impl.cc View 1 chunk +2 lines, -12 lines 1 comment Download

Messages

Total messages: 3 (0 generated)
Alpha Left Google
9 years, 4 months ago (2011-08-15 14:37:33 UTC) #1
scherkus (not reviewing)
LGTM
9 years, 4 months ago (2011-08-16 18:05:45 UTC) #2
scherkus (not reviewing)
9 years, 4 months ago (2011-08-16 18:07:00 UTC) #3
http://codereview.chromium.org/7646016/diff/1/webkit/glue/webmediaplayer_impl.cc
File webkit/glue/webmediaplayer_impl.cc (right):

http://codereview.chromium.org/7646016/diff/1/webkit/glue/webmediaplayer_impl...
webkit/glue/webmediaplayer_impl.cc:958: void
WebMediaPlayerImpl::OnNetworkEvent(PipelineStatus status) {
hmm.. I wonder if this should trigger a repaint

could be too spammy though

we have a bug where the progress bar isn't re-painting even though it's updating
(you have to wiggle the mouse over it to get it to repaint)

Powered by Google App Engine
This is Rietveld 408576698