Index: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h |
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h |
index 3a57ab59e3d4bbd1dff028a3bce9230320b818ee..890990b545ff0eb4fb2c30cdf3a1ed6754b40fdf 100644 |
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h |
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h |
@@ -9,6 +9,7 @@ |
#include "core/dom/DOMTypedArray.h" |
#include "platform/heap/Handle.h" |
#include "platform/transforms/TransformationMatrix.h" |
+#include <memory> |
namespace blink { |
@@ -62,10 +63,10 @@ public: |
protected: |
// TransformationMatrix needs to be 16-byte aligned. PartitionAlloc |
- // supports 16-byte alignment but Oilpan doesn't. So we use an OwnPtr |
+ // supports 16-byte alignment but Oilpan doesn't. So we use an std::unique_ptr |
// to allocate TransformationMatrix on PartitionAlloc. |
// TODO(oilpan): Oilpan should support 16-byte aligned allocations. |
- OwnPtr<TransformationMatrix> m_matrix; |
+ std::unique_ptr<TransformationMatrix> m_matrix; |
bool m_is2D; |
}; |