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

Unified Diff: Source/core/rendering/svg/RenderSVGInline.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/rendering/svg/RenderSVGInline.h
diff --git a/Source/core/rendering/svg/RenderSVGInline.h b/Source/core/rendering/svg/RenderSVGInline.h
index 0f6d31d4da43e136b2d6d3be1551d5fd5b978f8e..10670bff9a79d8e9e4344be9ccfab328c089024b 100644
--- a/Source/core/rendering/svg/RenderSVGInline.h
+++ b/Source/core/rendering/svg/RenderSVGInline.h
@@ -33,7 +33,7 @@ public:
virtual LayerType layerTypeRequired() const override final { return NoLayer; }
virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectSVG || type == RenderObjectSVGInline || RenderInline::isOfType(type); }
- virtual bool isChildAllowed(RenderObject*, RenderStyle*) const override;
+ virtual bool isChildAllowed(RenderObject*, const RenderStyle*) const override;
// Chapter 10.4 of the SVG Specification say that we should use the
// object bounding box of the parent text element.

Powered by Google App Engine
This is Rietveld 408576698