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

Unified Diff: Source/core/svg/SVGRectElement.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/SVGRectElement.cpp
diff --git a/Source/core/svg/SVGRectElement.cpp b/Source/core/svg/SVGRectElement.cpp
index 6ae42852ef31f367f695c155417e277b00861076..6be60ef9cafe937a5cd243afab11884236cf18cc 100644
--- a/Source/core/svg/SVGRectElement.cpp
+++ b/Source/core/svg/SVGRectElement.cpp
@@ -117,7 +117,7 @@ bool SVGRectElement::selfHasRelativeLengths() const
|| m_ry->currentValue()->isRelative();
}
-RenderObject* SVGRectElement::createRenderer(RenderStyle*)
+RenderObject* SVGRectElement::createRenderer(const RenderStyle*)
{
return new RenderSVGRect(this);
}

Powered by Google App Engine
This is Rietveld 408576698