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

Unified Diff: ash/wm/cursor_manager_chromeos.h

Issue 1867223004: Convert //ash from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments 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 | « ash/wm/boot_splash_screen_chromeos.h ('k') | ash/wm/cursor_manager_chromeos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/cursor_manager_chromeos.h
diff --git a/ash/wm/cursor_manager_chromeos.h b/ash/wm/cursor_manager_chromeos.h
index e1b4515fcba39cc06fd7d0f3d8e88c5b9b95c9aa..c2465ee38f41d002444cafa081cab18a4bba3386 100644
--- a/ash/wm/cursor_manager_chromeos.h
+++ b/ash/wm/cursor_manager_chromeos.h
@@ -5,10 +5,11 @@
#ifndef ASH_WM_CURSOR_MANAGER_CHROMEOS_H_
#define ASH_WM_CURSOR_MANAGER_CHROMEOS_H_
+#include <memory>
+
#include "ash/ash_export.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "ui/wm/core/cursor_manager.h"
#include "ui/wm/core/native_cursor_manager_delegate.h"
@@ -27,8 +28,7 @@ namespace ash {
// enabled.
class ASH_EXPORT CursorManager : public ::wm::CursorManager {
public:
- explicit CursorManager(
- scoped_ptr< ::wm::NativeCursorManager> delegate);
+ explicit CursorManager(std::unique_ptr<::wm::NativeCursorManager> delegate);
~CursorManager() override;
// aura::client::CursorClient:
« no previous file with comments | « ash/wm/boot_splash_screen_chromeos.h ('k') | ash/wm/cursor_manager_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698