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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutGeometryMapStep.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/layout/LayoutGeometryMapStep.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutGeometryMapStep.h b/third_party/WebKit/Source/core/layout/LayoutGeometryMapStep.h
index 6b4350d37d1527ac6720f1f42a5b8a2c4b37cc19..4f60d3312fe26f9b3cce310db8ea2554a730e6b6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutGeometryMapStep.h
+++ b/third_party/WebKit/Source/core/layout/LayoutGeometryMapStep.h
@@ -30,7 +30,7 @@
#include "platform/geometry/LayoutSize.h"
#include "platform/transforms/TransformationMatrix.h"
#include "wtf/Allocator.h"
-#include "wtf/OwnPtr.h"
+#include <memory>
namespace blink {
@@ -63,7 +63,7 @@ struct LayoutGeometryMapStep {
}
const LayoutObject* m_layoutObject;
LayoutSize m_offset;
- OwnPtr<TransformationMatrix> m_transform; // Includes offset if non-null.
+ std::unique_ptr<TransformationMatrix> m_transform; // Includes offset if non-null.
// If m_offsetForFixedPosition could only apply to the fixed position steps, we may be able to merge
// with m_offsetForStickyPosition and simplify mapping.
LayoutSize m_offsetForFixedPosition;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGeometryMap.h ('k') | third_party/WebKit/Source/core/layout/LayoutGrid.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698