| Index: Source/core/rendering/RenderRuby.h
|
| diff --git a/Source/core/rendering/RenderRuby.h b/Source/core/rendering/RenderRuby.h
|
| index 8d0aa866cf37a8ebe4def8367086b99b42ed0ad9..345385abd912acf9ea33aa86df7243d84e408892 100644
|
| --- a/Source/core/rendering/RenderRuby.h
|
| +++ b/Source/core/rendering/RenderRuby.h
|
| @@ -63,7 +63,7 @@ protected:
|
| virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
|
|
|
| private:
|
| - virtual bool isRuby() const override { return true; }
|
| + virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRuby || RenderInline::isOfType(type); }
|
| virtual const char* renderName() const override { return "RenderRuby (inline)"; }
|
| virtual bool createsAnonymousWrapper() const override { return true; }
|
| };
|
| @@ -81,7 +81,7 @@ protected:
|
| virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override;
|
|
|
| private:
|
| - virtual bool isRuby() const override { return true; }
|
| + virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectRuby || RenderBlockFlow::isOfType(type); }
|
| virtual const char* renderName() const override { return "RenderRuby (block)"; }
|
| virtual bool createsAnonymousWrapper() const override { return true; }
|
| virtual void removeLeftoverAnonymousBlock(RenderBlock*) override { ASSERT_NOT_REACHED(); }
|
|
|