Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(735)

Unified Diff: Source/core/layout/LayoutRubyRun.cpp

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}

Powered by Google App Engine
This is Rietveld 408576698