| Index: sky/engine/core/html/HTMLMediaElement.h
|
| diff --git a/sky/engine/core/html/HTMLMediaElement.h b/sky/engine/core/html/HTMLMediaElement.h
|
| index f04f93d04f265d2b38fc875796f5ee614dd99957..36daa4239ae703ec9f21c1624d71740f87aa8ce9 100644
|
| --- a/sky/engine/core/html/HTMLMediaElement.h
|
| +++ b/sky/engine/core/html/HTMLMediaElement.h
|
| @@ -181,7 +181,6 @@ public:
|
|
|
| // Predicates also used when dispatching wrapper creation (cf. [SpecialWrapFor] IDL attribute usage.)
|
| virtual bool isHTMLAudioElement() const { return false; }
|
| - virtual bool isHTMLVideoElement() const { return false; }
|
|
|
| protected:
|
| HTMLMediaElement(const QualifiedName&, Document&);
|
| @@ -435,7 +434,7 @@ struct ValueToString<double> {
|
|
|
| inline bool isHTMLMediaElement(const HTMLElement& element)
|
| {
|
| - return isHTMLAudioElement(element) || isHTMLVideoElement(element);
|
| + return isHTMLAudioElement(element);
|
| }
|
|
|
| DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
|
|
|