| Index: third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
|
| diff --git a/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp b/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
|
| index 5c20ee5768d6f8e4cbb76ec248d4284901de0198..4f5e438cb9b3b1800e2c630f28f921c2846983b2 100644
|
| --- a/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
|
| +++ b/third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp
|
| @@ -33,9 +33,9 @@ namespace blink {
|
|
|
| class SVGAnimatedViewBoxRect : public SVGAnimatedRect {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<SVGAnimatedRect> create(SVGElement* contextElement)
|
| + static RawPtr<SVGAnimatedRect> create(SVGElement* contextElement)
|
| {
|
| - return adoptRefWillBeNoop(new SVGAnimatedViewBoxRect(contextElement));
|
| + return new SVGAnimatedViewBoxRect(contextElement);
|
| }
|
|
|
| SVGParsingError setBaseValueAsString(const String&) override;
|
| @@ -75,7 +75,7 @@ DEFINE_TRACE(SVGFitToViewBox)
|
| visitor->trace(m_preserveAspectRatio);
|
| }
|
|
|
| -AffineTransform SVGFitToViewBox::viewBoxToViewTransform(const FloatRect& viewBoxRect, PassRefPtrWillBeRawPtr<SVGPreserveAspectRatio> preserveAspectRatio, float viewWidth, float viewHeight)
|
| +AffineTransform SVGFitToViewBox::viewBoxToViewTransform(const FloatRect& viewBoxRect, RawPtr<SVGPreserveAspectRatio> preserveAspectRatio, float viewWidth, float viewHeight)
|
| {
|
| if (!viewBoxRect.width() || !viewBoxRect.height() || !viewWidth || !viewHeight)
|
| return AffineTransform();
|
|
|