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

Unified Diff: components/mus/gles2/gpu_state.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/gpu_memory_buffer_impl.h ('k') | components/mus/gles2/mojo_buffer_backing.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/gles2/gpu_state.h
diff --git a/components/mus/gles2/gpu_state.h b/components/mus/gles2/gpu_state.h
index 27e239ad402135f76cf33df1d9593366501de774..1ba9edcc8ddf5be04fd4bcf4b516c5c7339d81fa 100644
--- a/components/mus/gles2/gpu_state.h
+++ b/components/mus/gles2/gpu_state.h
@@ -5,8 +5,9 @@
#ifndef COMPONENTS_MUS_GLES2_GPU_STATE_H_
#define COMPONENTS_MUS_GLES2_GPU_STATE_H_
+#include <memory>
+
#include "base/memory/ref_counted.h"
-#include "base/memory/scoped_ptr.h"
#include "base/single_thread_task_runner.h"
#include "base/threading/thread.h"
#include "components/mus/gles2/command_buffer_driver_manager.h"
@@ -93,8 +94,8 @@ class GpuState : public base::RefCountedThreadSafe<GpuState> {
gpu::GpuPreferences gpu_preferences_;
const gpu::GpuDriverBugWorkarounds gpu_driver_bug_workarounds_;
scoped_refptr<CommandBufferTaskRunner> command_buffer_task_runner_;
- scoped_ptr<CommandBufferDriverManager> driver_manager_;
- scoped_ptr<gpu::SyncPointManager> sync_point_manager_;
+ std::unique_ptr<CommandBufferDriverManager> driver_manager_;
+ std::unique_ptr<gpu::SyncPointManager> sync_point_manager_;
scoped_refptr<gfx::GLShareGroup> share_group_;
scoped_refptr<gpu::gles2::MailboxManager> mailbox_manager_;
gpu::GPUInfo gpu_info_;
« no previous file with comments | « components/mus/gles2/gpu_memory_buffer_impl.h ('k') | components/mus/gles2/mojo_buffer_backing.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698