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

Unified Diff: Source/core/svg/SVGGraphicsElement.h

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/SVGGraphicsElement.h
diff --git a/Source/core/svg/SVGGraphicsElement.h b/Source/core/svg/SVGGraphicsElement.h
index bdb76a3ee42f8d02e837b9a0fcd5421d9a14e08d..9b36fe7ebb5c2c57dad8b78ffa4243eb712482b3 100644
--- a/Source/core/svg/SVGGraphicsElement.h
+++ b/Source/core/svg/SVGGraphicsElement.h
@@ -62,7 +62,7 @@ public:
// "base class" methods for all the elements which render as paths
virtual void toClipPath(Path&);
- virtual RenderObject* createRenderer(RenderStyle*) override;
+ virtual RenderObject* createRenderer(const RenderStyle*) override;
virtual bool isValid() const override final { return SVGTests::isValid(document()); }

Powered by Google App Engine
This is Rietveld 408576698