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

Unified Diff: third_party/WebKit/Source/core/svg/SVGMatrixTearOff.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/SVGMatrixTearOff.cpp
diff --git a/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp b/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp
index c53610ccb38be84f556eff63788e9bde8afa0e65..249441149856ab1b23b01ec08ccdbd3575a728ad 100644
--- a/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp
+++ b/third_party/WebKit/Source/core/svg/SVGMatrixTearOff.cpp
@@ -97,70 +97,70 @@ DEFINE_SETTER(F);
#undef DEFINE_SETTER
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::translate(double tx, double ty)
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::translate(double tx, double ty)
{
- RefPtrWillBeRawPtr<SVGMatrixTearOff> matrix = create(value());
+ RawPtr<SVGMatrixTearOff> matrix = create(value());
matrix->mutableValue()->translate(tx, ty);
return matrix.release();
}
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::scale(double s)
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::scale(double s)
{
- RefPtrWillBeRawPtr<SVGMatrixTearOff> matrix = create(value());
+ RawPtr<SVGMatrixTearOff> matrix = create(value());
matrix->mutableValue()->scale(s, s);
return matrix.release();
}
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::scaleNonUniform(double sx, double sy)
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::scaleNonUniform(double sx, double sy)
{
- RefPtrWillBeRawPtr<SVGMatrixTearOff> matrix = create(value());
+ RawPtr<SVGMatrixTearOff> matrix = create(value());
matrix->mutableValue()->scale(sx, sy);
return matrix.release();
}
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::rotate(double d)
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::rotate(double d)
{
- RefPtrWillBeRawPtr<SVGMatrixTearOff> matrix = create(value());
+ RawPtr<SVGMatrixTearOff> matrix = create(value());
matrix->mutableValue()->rotate(d);
return matrix.release();
}
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::flipX()
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::flipX()
{
- RefPtrWillBeRawPtr<SVGMatrixTearOff> matrix = create(value());
+ RawPtr<SVGMatrixTearOff> matrix = create(value());
matrix->mutableValue()->flipX();
return matrix.release();
}
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::flipY()
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::flipY()
{
- RefPtrWillBeRawPtr<SVGMatrixTearOff> matrix = create(value());
+ RawPtr<SVGMatrixTearOff> matrix = create(value());
matrix->mutableValue()->flipY();
return matrix.release();
}
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::skewX(double angle)
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::skewX(double angle)
{
- RefPtrWillBeRawPtr<SVGMatrixTearOff> matrix = create(value());
+ RawPtr<SVGMatrixTearOff> matrix = create(value());
matrix->mutableValue()->skewX(angle);
return matrix.release();
}
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::skewY(double angle)
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::skewY(double angle)
{
- RefPtrWillBeRawPtr<SVGMatrixTearOff> matrix = create(value());
+ RawPtr<SVGMatrixTearOff> matrix = create(value());
matrix->mutableValue()->skewY(angle);
return matrix.release();
}
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::multiply(PassRefPtrWillBeRawPtr<SVGMatrixTearOff> other)
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::multiply(RawPtr<SVGMatrixTearOff> other)
{
- RefPtrWillBeRawPtr<SVGMatrixTearOff> matrix = create(value());
+ RawPtr<SVGMatrixTearOff> matrix = create(value());
*matrix->mutableValue() *= other->value();
return matrix.release();
}
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::inverse(ExceptionState& exceptionState)
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::inverse(ExceptionState& exceptionState)
{
AffineTransform transform = value().inverse();
if (!value().isInvertible())
@@ -169,7 +169,7 @@ PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::inverse(ExceptionStat
return create(transform);
}
-PassRefPtrWillBeRawPtr<SVGMatrixTearOff> SVGMatrixTearOff::rotateFromVector(double x, double y, ExceptionState& exceptionState)
+RawPtr<SVGMatrixTearOff> SVGMatrixTearOff::rotateFromVector(double x, double y, ExceptionState& exceptionState)
{
if (!x || !y)
exceptionState.throwDOMException(InvalidAccessError, "Arguments cannot be zero.");
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGMatrixTearOff.h ('k') | third_party/WebKit/Source/core/svg/SVGNumber.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698