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

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, 9 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 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();
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFitToViewBox.h ('k') | third_party/WebKit/Source/core/svg/SVGForeignObjectElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698