Index: Source/core/rendering/RenderRubyRun.h |
diff --git a/Source/core/rendering/RenderRubyRun.h b/Source/core/rendering/RenderRubyRun.h |
index 1e6f87210c0a2da2b10a3199667eab9b825daba7..8676e64109478a02890fc2ae603869e0c07be5fe 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 { } |