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

Unified Diff: components/mus/public/cpp/context_provider.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/mus_app.cc ('k') | components/mus/public/cpp/input_event_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/mus/public/cpp/context_provider.h
diff --git a/components/mus/public/cpp/context_provider.h b/components/mus/public/cpp/context_provider.h
index 8b93a2f7ea7d13aa3339f3a3c65460e60bb99a3f..973aa7a71254f4686b99ee37b5d425bc5824c103 100644
--- a/components/mus/public/cpp/context_provider.h
+++ b/components/mus/public/cpp/context_provider.h
@@ -7,8 +7,9 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/synchronization/lock.h"
#include "cc/output/context_provider.h"
#include "mojo/public/c/gles2/gles2_types.h"
@@ -45,7 +46,7 @@ class ContextProvider : public cc::ContextProvider {
mojo::ScopedMessagePipeHandle command_buffer_handle_;
MojoGLES2Context context_;
- scoped_ptr<gpu::gles2::GLES2Interface> context_gl_;
+ std::unique_ptr<gpu::gles2::GLES2Interface> context_gl_;
base::Lock context_lock_;
« no previous file with comments | « components/mus/mus_app.cc ('k') | components/mus/public/cpp/input_event_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698