| 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 a1664d0302f27d95a14fb0daae5c6fb3e07bcb63..b1f70b440b158099c2c2d87c2230950f330f7ec8 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();
|
|
|