Index: Source/core/html/HTMLMediaElement.h |
diff --git a/Source/core/html/HTMLMediaElement.h b/Source/core/html/HTMLMediaElement.h |
index d1b782bb862531a83213516007315dc768505a6e..4aeb78fc12c83e7ccae16436395f7b2bc49ef4f5 100644 |
--- a/Source/core/html/HTMLMediaElement.h |
+++ b/Source/core/html/HTMLMediaElement.h |
@@ -303,6 +303,10 @@ public: |
void setCloseMediaSourceWhenFinalizing(); |
#endif |
+ // 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&); |
virtual ~HTMLMediaElement(); |