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

Unified Diff: ui/views/widget/desktop_aura/desktop_screen_x11.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
Index: ui/views/widget/desktop_aura/desktop_screen_x11.h
diff --git a/ui/views/widget/desktop_aura/desktop_screen_x11.h b/ui/views/widget/desktop_aura/desktop_screen_x11.h
index e96d983ccb2d293a68442dfd9ef13ed2718716ff..31f5f02a3ae280ce41100d994820b8d1a5069e5e 100644
--- a/ui/views/widget/desktop_aura/desktop_screen_x11.h
+++ b/ui/views/widget/desktop_aura/desktop_screen_x11.h
@@ -7,8 +7,9 @@
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "base/timer/timer.h"
#include "ui/events/platform/platform_event_dispatcher.h"
#include "ui/gfx/display_change_notifier.h"
@@ -89,7 +90,7 @@ class VIEWS_EXPORT DesktopScreenX11 : public gfx::Screen,
// The timer to delay configuring outputs. See also the comments in
// Dispatch().
- scoped_ptr<base::OneShotTimer> configure_timer_;
+ std::unique_ptr<base::OneShotTimer> configure_timer_;
gfx::DisplayChangeNotifier change_notifier_;

Powered by Google App Engine
This is Rietveld 408576698