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

Unified Diff: Source/core/svg/SVGSwitchElement.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/SVGSwitchElement.cpp
diff --git a/Source/core/svg/SVGSwitchElement.cpp b/Source/core/svg/SVGSwitchElement.cpp
index 835a59c59bb844d5b967e60d1500758e24d03540..d5dd441ecef7a28b67f4fd3e24c81b1e88d7de4e 100644
--- a/Source/core/svg/SVGSwitchElement.cpp
+++ b/Source/core/svg/SVGSwitchElement.cpp
@@ -36,7 +36,7 @@ inline SVGSwitchElement::SVGSwitchElement(Document& document)
DEFINE_NODE_FACTORY(SVGSwitchElement)
-RenderObject* SVGSwitchElement::createRenderer(RenderStyle*)
+RenderObject* SVGSwitchElement::createRenderer(const RenderStyle*)
{
return new RenderSVGTransformableContainer(this);
}

Powered by Google App Engine
This is Rietveld 408576698