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

Unified Diff: trunk/Source/core/svg/SVGStopElement.cpp

Issue 948053002: Revert 190605 "Make RenderObject::style() return a const object" (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 5 years, 10 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
« no previous file with comments | « trunk/Source/core/svg/SVGLengthContext.cpp ('k') | trunk/Source/modules/accessibility/AXRenderObject.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/svg/SVGStopElement.cpp
===================================================================
--- trunk/Source/core/svg/SVGStopElement.cpp (revision 190671)
+++ trunk/Source/core/svg/SVGStopElement.cpp (working copy)
@@ -70,7 +70,7 @@
Color SVGStopElement::stopColorIncludingOpacity() const
{
- const LayoutStyle* style = renderer() ? renderer()->style() : nullptr;
+ LayoutStyle* style = renderer() ? renderer()->style() : 0;
// FIXME: This check for null style exists to address Bug WK 90814, a rare crash condition in
// which the renderer or style is null. This entire class is scheduled for removal (Bug WK 86941)
// and we will tolerate this null check until then.
« no previous file with comments | « trunk/Source/core/svg/SVGLengthContext.cpp ('k') | trunk/Source/modules/accessibility/AXRenderObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698