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

Unified Diff: Source/core/rendering/svg/RenderSVGInline.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/RenderSVGInline.cpp
diff --git a/Source/core/rendering/svg/RenderSVGInline.cpp b/Source/core/rendering/svg/RenderSVGInline.cpp
index ed0c4a31592a953dfecd8b27c380af6622efbbd4..d6b928e31dee4284a60b84c3b59a1e7f18f6285c 100644
--- a/Source/core/rendering/svg/RenderSVGInline.cpp
+++ b/Source/core/rendering/svg/RenderSVGInline.cpp
@@ -31,7 +31,7 @@
namespace blink {
-bool RenderSVGInline::isChildAllowed(RenderObject* child, RenderStyle* style) const
+bool RenderSVGInline::isChildAllowed(RenderObject* child, const RenderStyle* style) const
{
if (child->isText())
return SVGRenderSupport::isRenderableTextNode(child);

Powered by Google App Engine
This is Rietveld 408576698