| Index: sky/engine/core/html/HTMLMediaElement.h
|
| diff --git a/sky/engine/core/html/HTMLMediaElement.h b/sky/engine/core/html/HTMLMediaElement.h
|
| index 36daa4239ae703ec9f21c1624d71740f87aa8ce9..4730c4f72912ad79bcfbcc5e820093d8ec53bfa9 100644
|
| --- a/sky/engine/core/html/HTMLMediaElement.h
|
| +++ b/sky/engine/core/html/HTMLMediaElement.h
|
| @@ -179,9 +179,6 @@ public:
|
| void setCloseMediaSourceWhenFinalizing();
|
| #endif
|
|
|
| - // Predicates also used when dispatching wrapper creation (cf. [SpecialWrapFor] IDL attribute usage.)
|
| - virtual bool isHTMLAudioElement() const { return false; }
|
| -
|
| protected:
|
| HTMLMediaElement(const QualifiedName&, Document&);
|
| virtual ~HTMLMediaElement();
|
| @@ -432,9 +429,10 @@ struct ValueToString<double> {
|
| };
|
| #endif
|
|
|
| +// FIXME(sky): Remove this.
|
| inline bool isHTMLMediaElement(const HTMLElement& element)
|
| {
|
| - return isHTMLAudioElement(element);
|
| + return false;
|
| }
|
|
|
| DEFINE_HTMLELEMENT_TYPE_CASTS_WITH_FUNCTION(HTMLMediaElement);
|
|
|