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

Unified Diff: ui/ozone/public/overlay_manager_ozone.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/public/input_controller.cc ('k') | ui/ozone/public/ozone_gpu_test_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/public/overlay_manager_ozone.h
diff --git a/ui/ozone/public/overlay_manager_ozone.h b/ui/ozone/public/overlay_manager_ozone.h
index a26bdad358385e1ddaa0113a6dc2efa5e45220e1..54e73e5893390528c8be98c40c991d6b0274ce99 100644
--- a/ui/ozone/public/overlay_manager_ozone.h
+++ b/ui/ozone/public/overlay_manager_ozone.h
@@ -5,7 +5,8 @@
#ifndef UI_OZONE_PUBLIC_OVERLAY_MANAGER_OZONE_H_
#define UI_OZONE_PUBLIC_OVERLAY_MANAGER_OZONE_H_
-#include "base/memory/scoped_ptr.h"
+#include <memory>
+
#include "ui/gfx/native_widget_types.h"
namespace ui {
@@ -19,7 +20,7 @@ class OverlayManagerOzone {
virtual ~OverlayManagerOzone() {}
// Get the hal struct to check for overlay support.
- virtual scoped_ptr<OverlayCandidatesOzone> CreateOverlayCandidates(
+ virtual std::unique_ptr<OverlayCandidatesOzone> CreateOverlayCandidates(
gfx::AcceleratedWidget w) = 0;
};
« no previous file with comments | « ui/ozone/public/input_controller.cc ('k') | ui/ozone/public/ozone_gpu_test_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698