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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge. 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/LayoutBlockFlow.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.h
index 6be62dd268da5d2bcc5b460e6a42fcb2f6f4737a..32a162bf744dd170ddb752848c0e28a2ec395f69 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

Powered by Google App Engine
This is Rietveld 408576698