Index: Source/core/rendering/svg/RenderSVGResourceGradient.h |
diff --git a/Source/core/rendering/svg/RenderSVGResourceGradient.h b/Source/core/rendering/svg/RenderSVGResourceGradient.h |
index 76be048b2ebbf0874f55eda4143dc7475609e359..41ca99d616ff330b6e5617d4a4c9882a43cce9d9 100644 |
--- a/Source/core/rendering/svg/RenderSVGResourceGradient.h |
+++ b/Source/core/rendering/svg/RenderSVGResourceGradient.h |
@@ -47,7 +47,7 @@ public: |
virtual void removeAllClientsFromCache(bool markForInvalidation = true) override final; |
virtual void removeClientFromCache(RenderObject*, bool markForInvalidation = true) override final; |
- virtual SVGPaintServer preparePaintServer(RenderObject*) override final; |
+ virtual SVGPaintServer preparePaintServer(const RenderObject&) override final; |
virtual bool isChildAllowed(RenderObject* child, RenderStyle*) const override final; |
@@ -63,7 +63,7 @@ protected: |
private: |
bool m_shouldCollectGradientAttributes : 1; |
- HashMap<RenderObject*, OwnPtr<GradientData> > m_gradientMap; |
+ HashMap<const RenderObject*, OwnPtr<GradientData> > m_gradientMap; |
}; |
} |