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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutView.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/LayoutView.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutView.h b/third_party/WebKit/Source/core/layout/LayoutView.h
index 0441c819b882d8cb9a9747634e2098a4ccd319b7..6a123a24aabae8cfcae288b23a3e79b2a32f70f3 100644
--- a/third_party/WebKit/Source/core/layout/LayoutView.h
+++ b/third_party/WebKit/Source/core/layout/LayoutView.h
@@ -32,7 +32,7 @@
#include "platform/RuntimeEnabledFeatures.h"
#include "platform/heap/Handle.h"
#include "platform/scroll/ScrollableArea.h"
-#include "wtf/OwnPtr.h"
+#include <memory>
namespace blink {
@@ -262,8 +262,8 @@ private:
// See the class comment for more details.
LayoutState* m_layoutState;
- OwnPtr<ViewFragmentationContext> m_fragmentationContext;
- OwnPtr<PaintLayerCompositor> m_compositor;
+ std::unique_ptr<ViewFragmentationContext> m_fragmentationContext;
+ std::unique_ptr<PaintLayerCompositor> m_compositor;
RefPtr<IntervalArena> m_intervalArena;
LayoutQuote* m_layoutQuoteHead;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutThemeTest.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698