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

Unified Diff: Source/core/rendering/svg/SVGRenderTreeAsText.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/SVGRenderTreeAsText.cpp
diff --git a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp
index d73c4e88b57da044cbccd42178bf4afec8cdde71..358c3c14a107f5ffa83fb7901c5add3cc00576c3 100644
--- a/Source/core/rendering/svg/SVGRenderTreeAsText.cpp
+++ b/Source/core/rendering/svg/SVGRenderTreeAsText.cpp
@@ -633,7 +633,7 @@ void writeSVGGradientStop(TextStream& ts, const RenderSVGGradientStop& stop, int
SVGStopElement* stopElement = toSVGStopElement(stop.node());
ASSERT(stopElement);
- RenderStyle* style = stop.style();
+ const RenderStyle* style = stop.style();
if (!style)
return;

Powered by Google App Engine
This is Rietveld 408576698