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

Unified Diff: Source/core/svg/SVGDefsElement.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/SVGDefsElement.cpp
diff --git a/Source/core/svg/SVGDefsElement.cpp b/Source/core/svg/SVGDefsElement.cpp
index 9f5c388addb7d86e3c42a1265b523857fe2d37b6..708c31278dab294927e0eea909bd82f9ec1108a7 100644
--- a/Source/core/svg/SVGDefsElement.cpp
+++ b/Source/core/svg/SVGDefsElement.cpp
@@ -34,7 +34,7 @@ inline SVGDefsElement::SVGDefsElement(Document& document)
DEFINE_NODE_FACTORY(SVGDefsElement)
-RenderObject* SVGDefsElement::createRenderer(RenderStyle*)
+RenderObject* SVGDefsElement::createRenderer(const RenderStyle*)
{
return new RenderSVGHiddenContainer(this);
}

Powered by Google App Engine
This is Rietveld 408576698