Index: Source/core/rendering/RenderRubyBase.h |
diff --git a/Source/core/rendering/RenderRubyBase.h b/Source/core/rendering/RenderRubyBase.h |
index 320e4a381b2ef69ceb8c85866553def3c00e711f..7bb331554a02b9a0d38c6881b9013d58d9ad5c91 100644 |
--- a/Source/core/rendering/RenderRubyBase.h |
+++ b/Source/core/rendering/RenderRubyBase.h |
@@ -45,7 +45,7 @@ public: |
virtual const char* renderName() const OVERRIDE { return "RenderRubyBase (anonymous)"; } |
- virtual bool isRubyBase() const OVERRIDE { return true; } |
+ virtual bool isOfType(RenderObjectType type) const OVERRIDE { return type == RenderObjectRubyBase || RenderBlockFlow::isOfType(type); } |
virtual bool isChildAllowed(RenderObject*, RenderStyle*) const OVERRIDE; |