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

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 1673093003: blink::TransformationMatrix implement create methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove TransfromationMatrix::create(const AffineTransform&) Created 4 years, 10 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/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();

Powered by Google App Engine
This is Rietveld 408576698