Index: Source/core/layout/LayoutRubyRun.cpp |
diff --git a/Source/core/layout/LayoutRubyRun.cpp b/Source/core/layout/LayoutRubyRun.cpp |
index 8fcf3458f8f51f6b2549f9b8d3bff5928c04773a..895d2c7a268da1726ab8986b1bd8c49a9ed0f014 100644 |
--- a/Source/core/layout/LayoutRubyRun.cpp |
+++ b/Source/core/layout/LayoutRubyRun.cpp |
@@ -88,7 +88,7 @@ LayoutRubyBase* LayoutRubyRun::rubyBaseSafe() |
return base; |
} |
-bool LayoutRubyRun::isChildAllowed(RenderObject* child, RenderStyle*) const |
+bool LayoutRubyRun::isChildAllowed(RenderObject* child, const RenderStyle*) const |
{ |
return child->isRubyText() || child->isInline(); |
} |