Index: Source/core/svg/SVGFitToViewBox.h |
diff --git a/Source/core/svg/SVGFitToViewBox.h b/Source/core/svg/SVGFitToViewBox.h |
index 3620dd43f69cc9622b0f2847dc811eaed396de6f..7efe58c594e63759544be198e4e0a618161d9815 100644 |
--- a/Source/core/svg/SVGFitToViewBox.h |
+++ b/Source/core/svg/SVGFitToViewBox.h |
@@ -72,8 +72,8 @@ public: |
} |
// SVGFitToViewBox JS API. |
- static SVGAnimatedRect* viewBox(SVGFitToViewBox* object) { return object->viewBox(); } |
- static SVGAnimatedPreserveAspectRatio* preserveAspectRatio(SVGFitToViewBox* object) { return object->preserveAspectRatio(); } |
+ static SVGAnimatedRect* viewBox(SVGFitToViewBox& object) { return object.viewBox(); } |
+ static SVGAnimatedPreserveAspectRatio* preserveAspectRatio(SVGFitToViewBox& object) { return object.preserveAspectRatio(); } |
SVGAnimatedRect* viewBox() const { return m_viewBox.get(); } |
bool hasEmptyViewBox() const { return m_viewBox->currentValue()->isValid() && m_viewBox->currentValue()->value().isEmpty(); } |