| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "core/dom/DOMMatrix.h" | 5 #include "core/geometry/DOMMatrix.h" |
| 6 | 6 |
| 7 namespace blink { | 7 namespace blink { |
| 8 | 8 |
| 9 DOMMatrix* DOMMatrix::create(ExceptionState& exceptionState) { | 9 DOMMatrix* DOMMatrix::create(ExceptionState& exceptionState) { |
| 10 return new DOMMatrix(TransformationMatrix()); | 10 return new DOMMatrix(TransformationMatrix()); |
| 11 } | 11 } |
| 12 | 12 |
| 13 DOMMatrix* DOMMatrix::create(DOMMatrixReadOnly* other, | 13 DOMMatrix* DOMMatrix::create(DOMMatrixReadOnly* other, |
| 14 ExceptionState& exceptionState) { | 14 ExceptionState& exceptionState) { |
| 15 return new DOMMatrix(other->matrix(), other->is2D()); | 15 return new DOMMatrix(other->matrix(), other->is2D()); |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 258 return this; | 258 return this; |
| 259 } | 259 } |
| 260 | 260 |
| 261 DOMMatrix* DOMMatrix::setMatrixValue(const String& inputString, | 261 DOMMatrix* DOMMatrix::setMatrixValue(const String& inputString, |
| 262 ExceptionState& exceptionState) { | 262 ExceptionState& exceptionState) { |
| 263 setMatrixValueFromString(inputString, exceptionState); | 263 setMatrixValueFromString(inputString, exceptionState); |
| 264 return this; | 264 return this; |
| 265 } | 265 } |
| 266 | 266 |
| 267 } // namespace blink | 267 } // namespace blink |
| OLD | NEW |