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

Unified Diff: ui/mojo/init/ui_init.h

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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 | « ui/message_center/views/toast_contents_view.cc ('k') | ui/native_theme/common_theme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/mojo/init/ui_init.h
diff --git a/ui/mojo/init/ui_init.h b/ui/mojo/init/ui_init.h
index 9956b17cedfb88999c2d2b5f7f36417fe62459f9..ae9bf983ae91ffaf1cd782e844d3812525159d8f 100644
--- a/ui/mojo/init/ui_init.h
+++ b/ui/mojo/init/ui_init.h
@@ -5,11 +5,11 @@
#ifndef UI_MOJO_INIT_UI_INIT_H_
#define UI_MOJO_INIT_UI_INIT_H_
+#include <memory>
#include <vector>
#include "base/callback_forward.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "build/build_config.h"
namespace gfx {
@@ -32,9 +32,9 @@ class UIInit {
~UIInit();
private:
- scoped_ptr<gfx::Screen> screen_;
+ std::unique_ptr<gfx::Screen> screen_;
#if defined(OS_ANDROID)
- scoped_ptr<GestureConfigurationMojo> gesture_configuration_;
+ std::unique_ptr<GestureConfigurationMojo> gesture_configuration_;
#endif
DISALLOW_COPY_AND_ASSIGN(UIInit);
« no previous file with comments | « ui/message_center/views/toast_contents_view.cc ('k') | ui/native_theme/common_theme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698