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

Unified Diff: Source/core/svg/SVGMaskElement.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/SVGMaskElement.cpp
diff --git a/Source/core/svg/SVGMaskElement.cpp b/Source/core/svg/SVGMaskElement.cpp
index c26ebfe9c5dcf9a057437a9c935996352eaec80a..04b6e8001544ac09f7668ac99c0767da8217aff7 100644
--- a/Source/core/svg/SVGMaskElement.cpp
+++ b/Source/core/svg/SVGMaskElement.cpp
@@ -121,7 +121,7 @@ void SVGMaskElement::childrenChanged(const ChildrenChange& change)
object->setNeedsLayoutAndFullPaintInvalidation();
}
-RenderObject* SVGMaskElement::createRenderer(RenderStyle*)
+RenderObject* SVGMaskElement::createRenderer(const RenderStyle*)
{
return new RenderSVGResourceMasker(this);
}

Powered by Google App Engine
This is Rietveld 408576698