Index: Source/core/rendering/RenderVideo.h |
diff --git a/Source/core/rendering/RenderVideo.h b/Source/core/rendering/RenderVideo.h |
index 2a4a90f2b21df485582044545b82ee7eaec06e06..5b4792fad6a517cb8c8b8eda92ea981693147a0d 100644 |
--- a/Source/core/rendering/RenderVideo.h |
+++ b/Source/core/rendering/RenderVideo.h |
@@ -58,7 +58,7 @@ private: |
virtual const char* renderName() const override { return "RenderVideo"; } |
- virtual bool isVideo() const override { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectVideo || RenderMedia::isOfType(type); } |
virtual void paintReplaced(PaintInfo&, const LayoutPoint&) override; |