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

Unified Diff: third_party/WebKit/Source/platform/graphics/gpu/AcceleratedImageBufferSurface.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 021cb84fa9906556dc6eac57209ecd9e84eb3d45..5a2da49c01c5b9b66358dd544f19f05237136a64 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 <memory>
+#include "wtf/OwnPtr.h"
namespace blink {
@@ -51,7 +51,7 @@ public:
GLuint getBackingTextureHandleForOverwrite() override;
private:
- std::unique_ptr<WebGraphicsContext3DProvider> m_contextProvider;
+ OwnPtr<WebGraphicsContext3DProvider> m_contextProvider;
sk_sp<SkSurface> m_surface; // Uses m_contextProvider.
};

Powered by Google App Engine
This is Rietveld 408576698