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

Unified Diff: Source/core/svg/SVGPatternElement.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/SVGPatternElement.cpp
diff --git a/Source/core/svg/SVGPatternElement.cpp b/Source/core/svg/SVGPatternElement.cpp
index db02bd7aada34c3147265c2c309adefaf35a7817..5cc4231fd37951249c857e570704342b9a313d19 100644
--- a/Source/core/svg/SVGPatternElement.cpp
+++ b/Source/core/svg/SVGPatternElement.cpp
@@ -125,7 +125,7 @@ void SVGPatternElement::childrenChanged(const ChildrenChange& change)
object->setNeedsLayoutAndFullPaintInvalidation();
}
-RenderObject* SVGPatternElement::createRenderer(RenderStyle*)
+RenderObject* SVGPatternElement::createRenderer(const RenderStyle*)
{
return new RenderSVGResourcePattern(this);
}

Powered by Google App Engine
This is Rietveld 408576698