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

Unified Diff: third_party/WebKit/Source/core/svg/SVGTransformTearOff.h

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/SVGTransformTearOff.h
diff --git a/third_party/WebKit/Source/core/svg/SVGTransformTearOff.h b/third_party/WebKit/Source/core/svg/SVGTransformTearOff.h
index c9fb66e95d819c4111364eef28e6d056539f0d3a..a618e46bf753cde684602c7b0e937baa11eb7905 100644
--- a/third_party/WebKit/Source/core/svg/SVGTransformTearOff.h
+++ b/third_party/WebKit/Source/core/svg/SVGTransformTearOff.h
@@ -52,9 +52,9 @@ public:
SVG_TRANSFORM_SKEWY = blink::SVG_TRANSFORM_SKEWY,
};
- static PassRefPtrWillBeRawPtr<SVGTransformTearOff> create(PassRefPtrWillBeRawPtr<SVGTransform> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
+ static RawPtr<SVGTransformTearOff> create(RawPtr<SVGTransform> target, SVGElement* contextElement, PropertyIsAnimValType propertyIsAnimVal, const QualifiedName& attributeName = QualifiedName::null())
{
- return adoptRefWillBeNoop(new SVGTransformTearOff(target, contextElement, propertyIsAnimVal, attributeName));
+ return new SVGTransformTearOff(target, contextElement, propertyIsAnimVal, attributeName);
}
~SVGTransformTearOff() override;
@@ -63,7 +63,7 @@ public:
SVGMatrixTearOff* matrix();
float angle() { return target()->angle(); }
- void setMatrix(PassRefPtrWillBeRawPtr<SVGMatrixTearOff>, ExceptionState&);
+ void setMatrix(RawPtr<SVGMatrixTearOff>, ExceptionState&);
void setTranslate(float tx, float ty, ExceptionState&);
void setScale(float sx, float sy, ExceptionState&);
void setRotate(float angle, float cx, float cy, ExceptionState&);
@@ -73,9 +73,9 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- SVGTransformTearOff(PassRefPtrWillBeRawPtr<SVGTransform>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName);
+ SVGTransformTearOff(RawPtr<SVGTransform>, SVGElement* contextElement, PropertyIsAnimValType, const QualifiedName& attributeName);
- RefPtrWillBeMember<SVGMatrixTearOff> m_matrixTearoff;
+ Member<SVGMatrixTearOff> m_matrixTearoff;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698