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

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

Issue 2907973002: [css-typed-om] add toMatrix() method in CSSTransformValue.idl (Closed)
Patch Set: add toMatrix() Created 3 years, 7 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/geometry/DOMMatrix.cpp
diff --git a/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp b/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp
index 13a2e3c85056338869b3ae6eabd5b11a513c0618..744ca30f5b494ef88eb7615aa5171289eae70fd0 100644
--- a/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp
+++ b/third_party/WebKit/Source/core/geometry/DOMMatrix.cpp
@@ -135,6 +135,10 @@ DOMMatrix* DOMMatrix::multiplySelf(DOMMatrixInit& other,
DCHECK(exception_state.HadException());
return nullptr;
}
+ return multiplySelf(other_matrix);
+}
+
+DOMMatrix* DOMMatrix::multiplySelf(DOMMatrix* other_matrix) {
if (!other_matrix->is2D())
is2d_ = false;

Powered by Google App Engine
This is Rietveld 408576698