| 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 #ifndef DOMMatrixReadOnly_h | 5 #ifndef DOMMatrixReadOnly_h |
| 6 #define DOMMatrixReadOnly_h | 6 #define DOMMatrixReadOnly_h |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include "bindings/core/v8/ExceptionState.h" | 9 #include "bindings/core/v8/ExceptionState.h" |
| 10 #include "bindings/core/v8/ScriptWrappable.h" | 10 #include "bindings/core/v8/ScriptWrappable.h" |
| 11 #include "core/dom/ArrayBufferViewHelpers.h" |
| 11 #include "core/dom/DOMTypedArray.h" | 12 #include "core/dom/DOMTypedArray.h" |
| 12 #include "core/dom/NotShared.h" | |
| 13 #include "platform/heap/Handle.h" | 13 #include "platform/heap/Handle.h" |
| 14 #include "platform/transforms/TransformationMatrix.h" | 14 #include "platform/transforms/TransformationMatrix.h" |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class DOMMatrix; | 18 class DOMMatrix; |
| 19 class DOMMatrixInit; | 19 class DOMMatrixInit; |
| 20 class DOMPoint; | 20 class DOMPoint; |
| 21 class DOMPointInit; | 21 class DOMPointInit; |
| 22 | 22 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 // supports 16-byte alignment but Oilpan doesn't. So we use an std::unique_ptr | 134 // supports 16-byte alignment but Oilpan doesn't. So we use an std::unique_ptr |
| 135 // to allocate TransformationMatrix on PartitionAlloc. | 135 // to allocate TransformationMatrix on PartitionAlloc. |
| 136 // TODO(oilpan): Oilpan should support 16-byte aligned allocations. | 136 // TODO(oilpan): Oilpan should support 16-byte aligned allocations. |
| 137 std::unique_ptr<TransformationMatrix> matrix_; | 137 std::unique_ptr<TransformationMatrix> matrix_; |
| 138 bool is2d_; | 138 bool is2d_; |
| 139 }; | 139 }; |
| 140 | 140 |
| 141 } // namespace blink | 141 } // namespace blink |
| 142 | 142 |
| 143 #endif | 143 #endif |
| OLD | NEW |