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; |