Index: Source/core/rendering/RenderRubyText.h |
diff --git a/Source/core/rendering/RenderRubyText.h b/Source/core/rendering/RenderRubyText.h |
index 62fc359bf268d3fe72eec82fccce6dacb7c9d9e4..c3750f945a0575a93354d191fa99021df7915713 100644 |
--- a/Source/core/rendering/RenderRubyText.h |
+++ b/Source/core/rendering/RenderRubyText.h |
@@ -42,7 +42,7 @@ public: |
virtual const char* renderName() const override { return "RenderRubyText"; } |
- virtual bool isRubyText() const override { return true; } |
+ virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRubyText || RenderBlockFlow::isOfType(type); } |
virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override; |