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

Unified Diff: Source/core/rendering/svg/RenderSVGText.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/rendering/svg/RenderSVGText.cpp
diff --git a/Source/core/rendering/svg/RenderSVGText.cpp b/Source/core/rendering/svg/RenderSVGText.cpp
index 276a780c1d48bc4e759abc9983a24f9b104c6091..4f24a6f4fc22e934395788dd0e2a80a9e81881bd 100644
--- a/Source/core/rendering/svg/RenderSVGText.cpp
+++ b/Source/core/rendering/svg/RenderSVGText.cpp
@@ -67,7 +67,7 @@ RenderSVGText::~RenderSVGText()
ASSERT(m_layoutAttributes.isEmpty());
}
-bool RenderSVGText::isChildAllowed(RenderObject* child, RenderStyle*) const
+bool RenderSVGText::isChildAllowed(RenderObject* child, const RenderStyle*) const
{
return child->isSVGInline() || (child->isText() && SVGRenderSupport::isRenderableTextNode(child));
}

Powered by Google App Engine
This is Rietveld 408576698