WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
136163
[iOS] Cleanup media code
https://bugs.webkit.org/show_bug.cgi?id=136163
Summary
[iOS] Cleanup media code
Eric Carlson
Reported
2014-08-22 11:14:44 PDT
Remove some unused code.
Attachments
Proposed patch.
(7.36 KB, patch)
2014-08-22 11:26 PDT
,
Eric Carlson
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Carlson
Comment 1
2014-08-22 11:26:41 PDT
Created
attachment 236994
[details]
Proposed patch.
Darin Adler
Comment 2
2014-08-22 11:30:21 PDT
Comment on
attachment 236994
[details]
Proposed patch. parseMediaPlayerAttribute doesn’t look like dead code; there’s a call to it. What makes it actually dead?
Eric Carlson
Comment 3
2014-08-22 11:39:04 PDT
(In reply to
comment #2
)
> (From update of
attachment 236994
[details]
) > parseMediaPlayerAttribute doesn’t look like dead code; there’s a call to it.
Not any more :-)
> What makes it actually dead?
It calls iOS-only MediaPlayer methods that we no longer implement.
Darin Adler
Comment 4
2014-08-22 11:42:24 PDT
Comment on
attachment 236994
[details]
Proposed patch. View in context:
https://bugs.webkit.org/attachment.cgi?id=236994&action=review
> Source/WebCore/platform/graphics/MediaPlayerPrivate.h:-243 > - virtual void attributeChanged(const String&, const String&) { } > - virtual bool readyForPlayback() const { return true; }
I get it; these calls do nothing so we don’t need all the other levels just to get here.
WebKit Commit Bot
Comment 5
2014-08-22 13:10:34 PDT
Comment on
attachment 236994
[details]
Proposed patch. Clearing flags on attachment: 236994 Committed
r172868
: <
http://trac.webkit.org/changeset/172868
>
WebKit Commit Bot
Comment 6
2014-08-22 13:10:38 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug