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

Unified Diff: third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.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/platform/graphics/compositing/PaintArtifactCompositor.h
diff --git a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h
index 1c2f526a1ed931ddcca5ba4dc78cb908543ad193..ad732528ddfe6e0af7c9f139000bd921e7787e46 100644
--- a/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h
+++ b/third_party/WebKit/Source/platform/graphics/compositing/PaintArtifactCompositor.h
@@ -8,8 +8,8 @@
#include "base/memory/ref_counted.h"
#include "platform/PlatformExport.h"
#include "wtf/Noncopyable.h"
-#include "wtf/OwnPtr.h"
#include "wtf/Vector.h"
+#include <memory>
namespace cc {
class Layer;
@@ -62,8 +62,8 @@ private:
scoped_refptr<cc::Layer> layerForPaintChunk(const PaintArtifact&, const PaintChunk&, gfx::Vector2dF& layerOffset);
scoped_refptr<cc::Layer> m_rootLayer;
- OwnPtr<WebLayer> m_webLayer;
- Vector<OwnPtr<ContentLayerClientImpl>> m_contentLayerClients;
+ std::unique_ptr<WebLayer> m_webLayer;
+ Vector<std::unique_ptr<ContentLayerClientImpl>> m_contentLayerClients;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698