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

Unified Diff: ui/base/idle/idle_query_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
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_win_unittest.cc ('k') | ui/base/ime/candidate_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/idle/idle_query_x11.h
diff --git a/ui/base/idle/idle_query_x11.h b/ui/base/idle/idle_query_x11.h
index e5f6b96cbd1bae01a8cfd08e2aece368591723a4..0857418897e8417c4a28523f1b66a692442f70c0 100644
--- a/ui/base/idle/idle_query_x11.h
+++ b/ui/base/idle/idle_query_x11.h
@@ -5,8 +5,9 @@
#ifndef UI_BASE_IDLE_IDLE_QUERY_X11_H_
#define UI_BASE_IDLE_IDLE_QUERY_X11_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
namespace ui {
@@ -20,7 +21,7 @@ class IdleQueryX11 {
int IdleTime();
private:
- scoped_ptr<IdleData> idle_data_;
+ std::unique_ptr<IdleData> idle_data_;
DISALLOW_COPY_AND_ASSIGN(IdleQueryX11);
};
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_win_unittest.cc ('k') | ui/base/ime/candidate_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698