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

Unified Diff: Source/core/rendering/svg/RenderSVGTextPath.cpp

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a crashers (everything is building!) 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/RenderSVGTextPath.cpp
diff --git a/Source/core/rendering/svg/RenderSVGTextPath.cpp b/Source/core/rendering/svg/RenderSVGTextPath.cpp
index 18a928f3c3c92993934fd1c7ef34fc7de7c49417..1277d8b55ae16f51bd8264d80933581522499306 100644
--- a/Source/core/rendering/svg/RenderSVGTextPath.cpp
+++ b/Source/core/rendering/svg/RenderSVGTextPath.cpp
@@ -33,7 +33,7 @@ RenderSVGTextPath::RenderSVGTextPath(Element* element)
{
}
-bool RenderSVGTextPath::isChildAllowed(RenderObject* child, RenderStyle*) const
+bool RenderSVGTextPath::isChildAllowed(RenderObject* child, const RenderStyle*) const
{
if (child->isText())
return SVGRenderSupport::isRenderableTextNode(child);

Powered by Google App Engine
This is Rietveld 408576698