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

Unified Diff: mojo/gles2/command_buffer_client_impl.h

Issue 2069663002: Some scoped_ptr -> std::unique_ptr conversion, especially under //mojo. (Closed) Base URL: https://github.com/domokit/mojo.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
« no previous file with comments | « mojo/data_pipe_utils/data_pipe_file_utils.cc ('k') | mojo/gles2/command_buffer_client_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/gles2/command_buffer_client_impl.h
diff --git a/mojo/gles2/command_buffer_client_impl.h b/mojo/gles2/command_buffer_client_impl.h
index 54b45f2f02f9b29463d50f00014cda28f68aa8c9..d2a56c7b77dcf31f7ccc9f7619e87d8cc684fd1f 100644
--- a/mojo/gles2/command_buffer_client_impl.h
+++ b/mojo/gles2/command_buffer_client_impl.h
@@ -6,9 +6,9 @@
#define MOJO_GLES2_COMMAND_BUFFER_CLIENT_IMPL_H_
#include <map>
+#include <memory>
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "gpu/command_buffer/client/gpu_control.h"
#include "gpu/command_buffer/common/command_buffer.h"
#include "gpu/command_buffer/common/command_buffer_shared.h"
@@ -88,8 +88,8 @@ class CommandBufferClientImpl : public mojo::CommandBufferLostContextObserver,
CommandBufferDelegate* delegate_;
mojo::Binding<mojo::CommandBufferLostContextObserver> observer_binding_;
mojo::CommandBufferPtr command_buffer_;
- scoped_ptr<SyncClientImpl> sync_client_impl_;
- scoped_ptr<SyncPointClientImpl> sync_point_client_impl_;
+ std::unique_ptr<SyncClientImpl> sync_client_impl_;
+ std::unique_ptr<SyncPointClientImpl> sync_point_client_impl_;
gpu::Capabilities capabilities_;
State last_state_;
« no previous file with comments | « mojo/data_pipe_utils/data_pipe_file_utils.cc ('k') | mojo/gles2/command_buffer_client_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698