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

Unified Diff: Source/core/svg/SVGFEFloodElement.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/svg/SVGFEFloodElement.cpp
diff --git a/Source/core/svg/SVGFEFloodElement.cpp b/Source/core/svg/SVGFEFloodElement.cpp
index e52e88efc1eb1e8cff5592bd765cd3a0a6baa356..e96ceb2e3592de5f85229e618f6964b5e209a6ef 100644
--- a/Source/core/svg/SVGFEFloodElement.cpp
+++ b/Source/core/svg/SVGFEFloodElement.cpp
@@ -39,7 +39,7 @@ bool SVGFEFloodElement::setFilterEffectAttribute(FilterEffect* effect, const Qua
{
RenderObject* renderer = this->renderer();
ASSERT(renderer);
- RenderStyle* style = renderer->style();
+ const RenderStyle* style = renderer->style();
ASSERT(style);
FEFlood* flood = static_cast<FEFlood*>(effect);

Powered by Google App Engine
This is Rietveld 408576698