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

Unified Diff: components/mus/gles2/command_buffer_local.h

Issue 1906623003: Convert //components/mus from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « components/mus/gles2/command_buffer_impl.h ('k') | components/mus/gles2/command_buffer_local.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/command_buffer_local.h
diff --git a/components/mus/gles2/command_buffer_local.h b/components/mus/gles2/command_buffer_local.h
index fa56db561b7906cb6dfc929178dc880d90797a39..d1e9f047c5154e621842f5e3f2055af90f062b07 100644
--- a/components/mus/gles2/command_buffer_local.h
+++ b/components/mus/gles2/command_buffer_local.h
@@ -147,7 +147,7 @@ class CommandBufferLocal : public gpu::CommandBuffer,
gfx::AcceleratedWidget widget_;
scoped_refptr<GpuState> gpu_state_;
- scoped_ptr<CommandBufferDriver> driver_;
+ std::unique_ptr<CommandBufferDriver> driver_;
CommandBufferLocalClient* client_;
scoped_refptr<base::SingleThreadTaskRunner> client_thread_task_runner_;
@@ -165,7 +165,7 @@ class CommandBufferLocal : public gpu::CommandBuffer,
bool lost_context_;
// This sync point client is only for out of order Wait on client thread.
- scoped_ptr<gpu::SyncPointClient> sync_point_client_waiter_;
+ std::unique_ptr<gpu::SyncPointClient> sync_point_client_waiter_;
base::WeakPtr<CommandBufferLocal> weak_ptr_;
« no previous file with comments | « components/mus/gles2/command_buffer_impl.h ('k') | components/mus/gles2/command_buffer_local.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698