Index: Source/core/rendering/RenderRubyRun.h |
diff --git a/Source/core/rendering/RenderRubyRun.h b/Source/core/rendering/RenderRubyRun.h |
index 8c5e98a8a7336217abf2858d8f5b1af404daca92..f6f1dbf3d8085929fe83fc8c784a6c349a3b9a3d 100644 |
--- a/Source/core/rendering/RenderRubyRun.h |
+++ b/Source/core/rendering/RenderRubyRun.h |
@@ -68,7 +68,7 @@ protected: |
private: |
RenderRubyRun(); |
- virtual bool isRubyRun() const override { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRubyRun || RenderBlockFlow::isOfType(type); } |
virtual const char* renderName() const override { return "RenderRubyRun (anonymous)"; } |
virtual bool createsAnonymousWrapper() const override { return true; } |
virtual void removeLeftoverAnonymousBlock(RenderBlock*) override { } |