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

Unified Diff: Source/core/svg/SVGGElement.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/SVGGElement.cpp
diff --git a/Source/core/svg/SVGGElement.cpp b/Source/core/svg/SVGGElement.cpp
index fbf2bf713cfb2ae7b0eae993ae926ce936f67105..ba05425b1e57dc56ab1cea3aa1f6a6004a36946f 100644
--- a/Source/core/svg/SVGGElement.cpp
+++ b/Source/core/svg/SVGGElement.cpp
@@ -34,7 +34,7 @@ inline SVGGElement::SVGGElement(Document& document, ConstructionType constructio
DEFINE_NODE_FACTORY(SVGGElement)
-RenderObject* SVGGElement::createRenderer(RenderStyle* style)
+RenderObject* SVGGElement::createRenderer(const RenderStyle* style)
{
// SVG 1.1 testsuite explicitely uses constructs like <g display="none"><linearGradient>
// We still have to create renderers for the <g> & <linearGradient> element, though the

Powered by Google App Engine
This is Rietveld 408576698