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

Unified Diff: third_party/WebKit/Source/core/dom/DOMMatrix.cpp

Issue 1673093003: blink::TransformationMatrix implement create methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change adoptPtr -> create for missed class 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/dom/DOMMatrix.cpp
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
index f5c727ae2d29ce89b0e96fdcfac7f88fa898353c..802ab17963d148fd2aba4ff7ffa03004b5cd24b2 100644
--- a/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
+++ b/third_party/WebKit/Source/core/dom/DOMMatrix.cpp
@@ -18,7 +18,7 @@ DOMMatrix* DOMMatrix::create(DOMMatrixReadOnly* other)
DOMMatrix::DOMMatrix(const TransformationMatrix& matrix, bool is2D)
{
- m_matrix = adoptPtr(new TransformationMatrix(matrix));
+ m_matrix = TransformationMatrix::create(matrix);
m_is2D = is2D;
}

Powered by Google App Engine
This is Rietveld 408576698