Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
index 55c9f49a3a713a27b412adc3ffaf4f101c48eecc..4734a256b2c10ec09f4f7c63175e3f9a8088259c 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h |
@@ -43,6 +43,7 @@ |
#include "core/layout/line/LineBoxList.h" |
#include "core/layout/line/RootInlineBox.h" |
#include "core/layout/line/TrailingObjects.h" |
+#include <memory> |
namespace blink { |
@@ -615,8 +616,8 @@ private: |
bool checkIfIsSelfCollapsingBlock() const; |
protected: |
- OwnPtr<LayoutBlockFlowRareData> m_rareData; |
- OwnPtr<FloatingObjects> m_floatingObjects; |
+ std::unique_ptr<LayoutBlockFlowRareData> m_rareData; |
+ std::unique_ptr<FloatingObjects> m_floatingObjects; |
friend class MarginInfo; |
friend class LineWidth; // needs to know FloatingObject |