WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
138202
Optimize HTMLVideoElement / HTMLAudioElement type checks a bit
https://bugs.webkit.org/show_bug.cgi?id=138202
Summary
Optimize HTMLVideoElement / HTMLAudioElement type checks a bit
Chris Dumez
Reported
2014-10-29 17:46:22 PDT
Optimize HTMLVideoElement / HTMLAudioElement type checks a bit by: 1. using is<HTMLMediaElement>() instead of is<HTMLVideoElement>() || is<HTMLAudioElement>() if the caller is interested in both video and audio elements 2. Updating HTMLVideoElement / HTMLAudioElement type traits specialization to avoid doing an isHTMLUnknownElement() check if the input type is an HTMLMediaElement (which is common in the code base)
Attachments
Patch
(8.09 KB, patch)
2014-10-29 19:54 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(8.66 KB, patch)
2014-10-29 20:02 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Patch
(8.88 KB, patch)
2014-10-29 20:07 PDT
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2014-10-29 19:54:16 PDT
Created
attachment 240651
[details]
Patch
Chris Dumez
Comment 2
2014-10-29 20:02:10 PDT
Created
attachment 240652
[details]
Patch
Chris Dumez
Comment 3
2014-10-29 20:07:23 PDT
Created
attachment 240653
[details]
Patch
WebKit Commit Bot
Comment 4
2014-10-30 14:25:32 PDT
Comment on
attachment 240653
[details]
Patch Clearing flags on attachment: 240653 Committed
r175380
: <
http://trac.webkit.org/changeset/175380
>
WebKit Commit Bot
Comment 5
2014-10-30 14:25:36 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