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

Unified Diff: ui/views/widget/desktop_aura/desktop_cursor_loader_updater.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/views/views_delegate.h ('k') | ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
diff --git a/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h b/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
index ff116bc81a0269c7b4aca76135786c4891e70f20..7f228a1ca690304ef0c5ebc83d0021e0d2e006e6 100644
--- a/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
+++ b/ui/views/widget/desktop_aura/desktop_cursor_loader_updater.h
@@ -5,7 +5,8 @@
#ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_H_
#define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_CURSOR_LOADER_UPDATER_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/views/views_export.h"
namespace aura {
@@ -30,7 +31,7 @@ class VIEWS_EXPORT DesktopCursorLoaderUpdater {
// Creates a new DesktopCursorLoaderUpdater, or NULL if the platform doesn't
// support one.
- static scoped_ptr<DesktopCursorLoaderUpdater> Create();
+ static std::unique_ptr<DesktopCursorLoaderUpdater> Create();
// Called when a CursorLoader is created.
virtual void OnCreate(float device_scale_factor,
« no previous file with comments | « ui/views/views_delegate.h ('k') | ui/views/widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698