Index: Source/core/rendering/RenderRubyText.h |
diff --git a/Source/core/rendering/RenderRubyText.h b/Source/core/rendering/RenderRubyText.h |
index a44835986c442c406b3d30ebc2110026d48659c6..4c87656a0fbd4b376fcf1d6a0bff019ed923e40e 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; |