Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
index 82a679cce483c2fdda6fe1e00ad9fa32b15bf89d..511d5a03c5cbf12608af9643df7711fce8e74ea6 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp |
@@ -411,7 +411,7 @@ void PaintLayer::updateTransform(const ComputedStyle* oldStyle, const ComputedSt |
bool hadTransform = transform(); |
if (hasTransform != hadTransform) { |
if (hasTransform) |
- ensureRareData().transform = adoptPtr(new TransformationMatrix); |
+ ensureRareData().transform = TransformationMatrix::create(); |
else |
m_rareData->transform.clear(); |