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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.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/paint/SkPictureBuilder.h
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h b/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h
index 1bb4839b07e7bd854f2181b5a7ae119c471cec9d..edf2b25c819a7449cad8b053d80a6f5934300657 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h
+++ b/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h
@@ -9,8 +9,8 @@
#include "platform/geometry/FloatRect.h"
#include "platform/graphics/paint/DisplayItemClient.h"
#include "wtf/Noncopyable.h"
-#include "wtf/OwnPtr.h"
#include "wtf/PassRefPtr.h"
+#include <memory>
class SkMetaData;
class SkPicture;
@@ -45,8 +45,8 @@ public:
private:
DISPLAY_ITEM_CACHE_STATUS_UNCACHEABLE_IMPLEMENTATION
- OwnPtr<PaintController> m_paintController;
- OwnPtr<GraphicsContext> m_context;
+ std::unique_ptr<PaintController> m_paintController;
+ std::unique_ptr<GraphicsContext> m_context;
FloatRect m_bounds;
};

Powered by Google App Engine
This is Rietveld 408576698