Index: Source/core/rendering/RenderEmbeddedObject.h |
diff --git a/Source/core/rendering/RenderEmbeddedObject.h b/Source/core/rendering/RenderEmbeddedObject.h |
index f0799e13070e526610167f60622851409e818e3b..2860d7aca51729afbeb5b888c9e509c331f9295e 100644 |
--- a/Source/core/rendering/RenderEmbeddedObject.h |
+++ b/Source/core/rendering/RenderEmbeddedObject.h |
@@ -51,7 +51,7 @@ private: |
virtual void layout() override final; |
virtual const char* renderName() const override { return "RenderEmbeddedObject"; } |
- virtual bool isEmbeddedObject() const override final { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectEmbeddedObject || RenderPart::isOfType(type); } |
virtual RenderBox* embeddedContentBox() const override final; |
virtual LayerType layerTypeRequired() const override final; |