Use toHTMLMediaElement and remove isMediaElement
Created attachment 206755 [details] Patch
Comment on attachment 206755 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=206755&action=review > Source/WebCore/html/HTMLTrackElement.cpp:90 > + if (!parentNode() && insertionPoint->isElementNode() && toElement(insertionPoint)->isMediaElement()) I don't think removing isMediaElement is a good idea in this case.
Created attachment 206776 [details] Patch
(In reply to comment #2) > (From update of attachment 206755 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=206755&action=review > > > Source/WebCore/html/HTMLTrackElement.cpp:90 > > + if (!parentNode() && insertionPoint->isElementNode() && toElement(insertionPoint)->isMediaElement()) > > I don't think removing isMediaElement is a good idea in this case. Done, thx! :) Took Ryosuke's comment into consideration.
Comment on attachment 206776 [details] Patch Clearing flags on attachment: 206776 Committed r152763: <http://trac.webkit.org/changeset/152763>
All reviewed patches have been landed. Closing bug.