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 b9dff6b0cf62949e567b8dd4a8dda05f3a955203..895daeef48f0d1fa51a5d3e6030c529f6ee116a5 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(); |