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

Unified Diff: gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h

Issue 1859703002: convert //gpu to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 4 years, 8 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: gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
diff --git a/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h b/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
index e93b61415f626bfd1e385455dd46f9349127d6b7..3e4f862a0a319cdaefdde713bf47d08c5b155833 100644
--- a/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
+++ b/gpu/ipc/client/gpu_memory_buffer_impl_surface_texture.h
@@ -8,6 +8,8 @@
#include <android/native_window.h>
#include <stddef.h>
+#include <memory>
+
#include "base/macros.h"
#include "gpu/gpu_export.h"
#include "gpu/ipc/client/gpu_memory_buffer_impl.h"
@@ -20,7 +22,7 @@ class GPU_EXPORT GpuMemoryBufferImplSurfaceTexture
public:
~GpuMemoryBufferImplSurfaceTexture() override;
- static scoped_ptr<GpuMemoryBufferImplSurfaceTexture> CreateFromHandle(
+ static std::unique_ptr<GpuMemoryBufferImplSurfaceTexture> CreateFromHandle(
const gfx::GpuMemoryBufferHandle& handle,
const gfx::Size& size,
gfx::BufferFormat format,

Powered by Google App Engine
This is Rietveld 408576698