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

Unified Diff: ui/ozone/platform_object.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/ozone/platform_constructor_list.h ('k') | ui/ozone/platform_object_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform_object.h
diff --git a/ui/ozone/platform_object.h b/ui/ozone/platform_object.h
index 2518c7cd76487241487daaaeb8ec63c660d916c3..a9edc74533ca36000823c9b54c7973667636a0a4 100644
--- a/ui/ozone/platform_object.h
+++ b/ui/ozone/platform_object.h
@@ -5,7 +5,6 @@
#ifndef UI_OZONE_PLATFORM_OBJECT_H_
#define UI_OZONE_PLATFORM_OBJECT_H_
-#include "base/memory/scoped_ptr.h"
namespace ui {
@@ -26,7 +25,7 @@ namespace ui {
template <class T>
class PlatformObject {
public:
- static scoped_ptr<T> Create();
+ static std::unique_ptr<T> Create();
};
} // namespace ui
« no previous file with comments | « ui/ozone/platform_constructor_list.h ('k') | ui/ozone/platform_object_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698