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

Unified Diff: Source/core/layout/LayoutRubyBase.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/LayoutRubyBase.cpp
diff --git a/Source/core/layout/LayoutRubyBase.cpp b/Source/core/layout/LayoutRubyBase.cpp
index 0d5f0d390a8d557f66c7dc86363c3c0afca658fb..9b00ad5180f53ea81f2756de19b4aba7bc028473 100644
--- a/Source/core/layout/LayoutRubyBase.cpp
+++ b/Source/core/layout/LayoutRubyBase.cpp
@@ -53,7 +53,7 @@ LayoutRubyBase* LayoutRubyBase::createAnonymous(Document* document)
return layoutObject;
}
-bool LayoutRubyBase::isChildAllowed(RenderObject* child, RenderStyle*) const
+bool LayoutRubyBase::isChildAllowed(RenderObject* child, const RenderStyle*) const
{
return child->isInline();
}

Powered by Google App Engine
This is Rietveld 408576698