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

Unified Diff: third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/dom/DOMMatrixReadOnly.h
diff --git a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h
index 890990b545ff0eb4fb2c30cdf3a1ed6754b40fdf..3a57ab59e3d4bbd1dff028a3bce9230320b818ee 100644
--- a/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h
+++ b/third_party/WebKit/Source/core/dom/DOMMatrixReadOnly.h
@@ -9,7 +9,6 @@
#include "core/dom/DOMTypedArray.h"
#include "platform/heap/Handle.h"
#include "platform/transforms/TransformationMatrix.h"
-#include <memory>
namespace blink {
@@ -63,10 +62,10 @@ public:
protected:
// TransformationMatrix needs to be 16-byte aligned. PartitionAlloc
- // supports 16-byte alignment but Oilpan doesn't. So we use an std::unique_ptr
+ // supports 16-byte alignment but Oilpan doesn't. So we use an OwnPtr
// to allocate TransformationMatrix on PartitionAlloc.
// TODO(oilpan): Oilpan should support 16-byte aligned allocations.
- std::unique_ptr<TransformationMatrix> m_matrix;
+ OwnPtr<TransformationMatrix> m_matrix;
bool m_is2D;
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/CrossThreadTask.h ('k') | third_party/WebKit/Source/core/dom/DatasetDOMStringMap.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698