| Index: third_party/WebKit/Source/platform/geometry/TransformState.cpp
|
| diff --git a/third_party/WebKit/Source/platform/geometry/TransformState.cpp b/third_party/WebKit/Source/platform/geometry/TransformState.cpp
|
| index 918a73c07b207ae172b00815b0f6c8b512113271..d50b16d2fd5a7b5bf8219c20a52d5ab59dcd9335 100644
|
| --- a/third_party/WebKit/Source/platform/geometry/TransformState.cpp
|
| +++ b/third_party/WebKit/Source/platform/geometry/TransformState.cpp
|
| @@ -44,7 +44,7 @@ TransformState& TransformState::operator=(const TransformState& other)
|
| m_accumulatedTransform.clear();
|
|
|
| if (other.m_accumulatedTransform)
|
| - m_accumulatedTransform = adoptPtr(new TransformationMatrix(*other.m_accumulatedTransform));
|
| + m_accumulatedTransform = TransformationMatrix::create(*other.m_accumulatedTransform);
|
|
|
| return *this;
|
| }
|
| @@ -118,12 +118,12 @@ void TransformState::applyTransform(const TransformationMatrix& transformFromCon
|
| // If we have an accumulated transform from last time, multiply in this transform
|
| if (m_accumulatedTransform) {
|
| if (m_direction == ApplyTransformDirection)
|
| - m_accumulatedTransform = adoptPtr(new TransformationMatrix(transformFromContainer * *m_accumulatedTransform));
|
| + m_accumulatedTransform = TransformationMatrix::create(transformFromContainer * *m_accumulatedTransform);
|
| else
|
| m_accumulatedTransform->multiply(transformFromContainer);
|
| } else if (accumulate == AccumulateTransform) {
|
| // Make one if we started to accumulate
|
| - m_accumulatedTransform = adoptPtr(new TransformationMatrix(transformFromContainer));
|
| + m_accumulatedTransform = TransformationMatrix::create(transformFromContainer);
|
| }
|
|
|
| if (accumulate == FlattenTransform) {
|
|
|