Index: Source/core/svg/SVGFitToViewBox.h |
diff --git a/Source/core/svg/SVGFitToViewBox.h b/Source/core/svg/SVGFitToViewBox.h |
index 7efe58c594e63759544be198e4e0a618161d9815..6f52a5c53bdead19af5098fb81d45638cf2b50ef 100644 |
--- a/Source/core/svg/SVGFitToViewBox.h |
+++ b/Source/core/svg/SVGFitToViewBox.h |
@@ -82,8 +82,8 @@ public: |
protected: |
explicit SVGFitToViewBox(SVGElement*, PropertyMapPolicy = PropertyMapPolicyAdd); |
void updateViewBox(const FloatRect&); |
- void clearViewBox() { m_viewBox = 0; } |
- void clearPreserveAspectRatio() { m_preserveAspectRatio = 0; } |
+ void clearViewBox() { m_viewBox = nullptr; } |
+ void clearPreserveAspectRatio() { m_preserveAspectRatio = nullptr; } |
private: |
RefPtr<SVGAnimatedRect> m_viewBox; |