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)
Created attachment 240651 [details] Patch
Created attachment 240652 [details] Patch
Created attachment 240653 [details] Patch
Comment on attachment 240653 [details] Patch Clearing flags on attachment: 240653 Committed r175380: <http://trac.webkit.org/changeset/175380>
All reviewed patches have been landed. Closing bug.