WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
136884
Remove unused methods from MediaPlayerClient
https://bugs.webkit.org/show_bug.cgi?id=136884
Summary
Remove unused methods from MediaPlayerClient
Carlos Garcia Campos
Reported
2014-09-17 03:36:34 PDT
It seems that some of the methods that introduce dependencies on WebCore types are actually unused.
Attachments
Patch
(4.53 KB, patch)
2014-09-17 03:39 PDT
,
Carlos Garcia Campos
eric.carlson
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Carlos Garcia Campos
Comment 1
2014-09-17 03:39:09 PDT
Created
attachment 238247
[details]
Patch
Eric Carlson
Comment 2
2014-09-17 12:19:18 PDT
Comment on
attachment 238247
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=238247&action=review
> Source/WebCore/html/HTMLMediaElement.cpp:5664 > IntRect HTMLMediaElement::mediaPlayerWindowClipRect() > { > - return mediaPlayerOwningDocument()->view()->windowClipRect(); > + return document().view()->windowClipRect(); > }
It looks like this can be removed from here and MediaPlayerClient, it isn't called by MediaPlayer.
Carlos Garcia Campos
Comment 3
2014-09-18 04:16:38 PDT
Committed
r173719
: <
http://trac.webkit.org/changeset/173719
>
Carlos Garcia Campos
Comment 4
2014-09-18 04:17:26 PDT
(In reply to
comment #2
)
> (From update of
attachment 238247
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=238247&action=review
> > > Source/WebCore/html/HTMLMediaElement.cpp:5664 > > IntRect HTMLMediaElement::mediaPlayerWindowClipRect() > > { > > - return mediaPlayerOwningDocument()->view()->windowClipRect(); > > + return document().view()->windowClipRect(); > > } > > It looks like this can be removed from here and MediaPlayerClient, it isn't called by MediaPlayer.
Right, removed it as well. Thanks for the review.
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