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

Unified Diff: ui/base/accelerators/platform_accelerator.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/accelerators/accelerator.h ('k') | ui/base/accelerators/platform_accelerator_cocoa.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/accelerators/platform_accelerator.h
diff --git a/ui/base/accelerators/platform_accelerator.h b/ui/base/accelerators/platform_accelerator.h
index cca8021f2e157589c6688f0ee380b1362c7f2476..397afc1dfdbe40ceed47c24592e4584c59a6edf1 100644
--- a/ui/base/accelerators/platform_accelerator.h
+++ b/ui/base/accelerators/platform_accelerator.h
@@ -5,7 +5,8 @@
#ifndef UI_BASE_ACCELERATORS_PLATFORM_ACCELERATOR_H_
#define UI_BASE_ACCELERATORS_PLATFORM_ACCELERATOR_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/base/ui_base_export.h"
namespace ui {
@@ -15,7 +16,7 @@ class UI_BASE_EXPORT PlatformAccelerator {
public:
virtual ~PlatformAccelerator() {}
- virtual scoped_ptr<PlatformAccelerator> CreateCopy() const = 0;
+ virtual std::unique_ptr<PlatformAccelerator> CreateCopy() const = 0;
virtual bool Equals(const PlatformAccelerator& rhs) const = 0;
};
« no previous file with comments | « ui/base/accelerators/accelerator.h ('k') | ui/base/accelerators/platform_accelerator_cocoa.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698