Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Unified Diff: third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698