Bug 126973 - HTMLMediaElement::potentiallyPlaying can be more simple.
Summary: HTMLMediaElement::potentiallyPlaying can be more simple.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 02:35 PST by Piotr Grad
Modified: 2014-01-14 08:37 PST (History)
6 users (show)

See Also:


Attachments
Patch (1.77 KB, patch)
2014-01-14 02:35 PST, Piotr Grad
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Grad 2014-01-14 02:35:03 PST
Created attachment 221134 [details]
Patch

Expression can be simplified because the first 'if' statement depends on the same condition as pausedToBuffer value.
Comment 1 WebKit Commit Bot 2014-01-14 08:37:39 PST
Comment on attachment 221134 [details]
Patch

Clearing flags on attachment: 221134

Committed r161973: <http://trac.webkit.org/changeset/161973>
Comment 2 WebKit Commit Bot 2014-01-14 08:37:42 PST
All reviewed patches have been landed.  Closing bug.