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

Unified Diff: ui/base/clipboard/clipboard_aurax11.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/clipboard/clipboard_aura.cc ('k') | ui/base/clipboard/clipboard_aurax11.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/clipboard/clipboard_aurax11.h
diff --git a/ui/base/clipboard/clipboard_aurax11.h b/ui/base/clipboard/clipboard_aurax11.h
index 9a735d7504fef2f1502176863365f0ee95294a19..5fbeae925c1559998b07722d3b0221dd6b9c4cb4 100644
--- a/ui/base/clipboard/clipboard_aurax11.h
+++ b/ui/base/clipboard/clipboard_aurax11.h
@@ -5,13 +5,13 @@
#ifndef UI_BASE_CLIPBOARD_CLIPBOARD_AURAX11_H_
#define UI_BASE_CLIPBOARD_CLIPBOARD_AURAX11_H_
-#include "ui/base/clipboard/clipboard.h"
-
#include <stddef.h>
#include <stdint.h>
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
+#include "ui/base/clipboard/clipboard.h"
namespace ui {
@@ -64,7 +64,7 @@ class ClipboardAuraX11 : public Clipboard {
// TODO(dcheng): Is this still needed now that each platform clipboard has its
// own class derived from Clipboard?
class AuraX11Details;
- scoped_ptr<AuraX11Details> aurax11_details_;
+ std::unique_ptr<AuraX11Details> aurax11_details_;
DISALLOW_COPY_AND_ASSIGN(ClipboardAuraX11);
};
« no previous file with comments | « ui/base/clipboard/clipboard_aura.cc ('k') | ui/base/clipboard/clipboard_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698