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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.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/gpu/AcceleratedImageBufferSurface.h
diff --git a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
index 5a2da49c01c5b9b66358dd544f19f05237136a64..021cb84fa9906556dc6eac57209ecd9e84eb3d45 100644
--- a/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
+++ b/third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h
@@ -34,7 +34,7 @@
#include "platform/graphics/ImageBufferSurface.h"
#include "public/platform/WebGraphicsContext3DProvider.h"
#include "third_party/skia/include/core/SkSurface.h"
-#include "wtf/OwnPtr.h"
+#include <memory>
namespace blink {
@@ -51,7 +51,7 @@ public:
GLuint getBackingTextureHandleForOverwrite() override;
private:
- OwnPtr<WebGraphicsContext3DProvider> m_contextProvider;
+ std::unique_ptr<WebGraphicsContext3DProvider> m_contextProvider;
sk_sp<SkSurface> m_surface; // Uses m_contextProvider.
};

Powered by Google App Engine
This is Rietveld 408576698