Index: Source/core/rendering/RenderVideo.h |
diff --git a/Source/core/rendering/RenderVideo.h b/Source/core/rendering/RenderVideo.h |
index 6b6e2b3eca859bec26d1cba38eff2f61e976cfcd..11006d80689c0b5b1c5bcc4095c593840e9d0997 100644 |
--- a/Source/core/rendering/RenderVideo.h |
+++ b/Source/core/rendering/RenderVideo.h |
@@ -57,7 +57,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; |