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

Unified Diff: third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp

Issue 2933473003: Remove asMatrix as a JS-exposed method in CSSTransformComponents. (Closed)
Patch Set: update skew expectation for missing "s" Created 3 years, 6 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/css/cssom/CSSTransformValue.cpp
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp b/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp
index 4c9c44a90a8533cb60f83261292649f642a5e0bc..e73f12159ccfaedc5767dc8685b3ad0f7c7f4800 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp
+++ b/third_party/WebKit/Source/core/css/cssom/CSSTransformValue.cpp
@@ -5,7 +5,6 @@
#include "core/css/cssom/CSSTransformValue.h"
#include "core/css/CSSValueList.h"
-#include "core/css/cssom/CSSMatrixComponent.h"
#include "core/css/cssom/CSSTransformComponent.h"
#include "core/geometry/DOMMatrix.h"
@@ -39,9 +38,9 @@ bool CSSTransformValue::is2D() const {
DOMMatrix* CSSTransformValue::toMatrix() const {
DOMMatrix* matrix = DOMMatrix::Create();
for (size_t i = 0; i < transform_components_.size(); i++) {
- CSSMatrixComponent* matrixComponent = transform_components_[i]->asMatrix();
+ DOMMatrix* matrixComponent = transform_components_[i]->AsMatrix();
if (matrixComponent) {
- matrix->multiplySelf(matrixComponent->matrix());
+ matrix->multiplySelf(matrixComponent);
}
}
return matrix;

Powered by Google App Engine
This is Rietveld 408576698