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

Unified Diff: ui/ozone/platform/cast/overlay_manager_cast.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
Index: ui/ozone/platform/cast/overlay_manager_cast.h
diff --git a/ui/ozone/platform/cast/overlay_manager_cast.h b/ui/ozone/platform/cast/overlay_manager_cast.h
index 169f3b1c83442133b61b90a3af10bfdec829b281..0ddf98d67f5a3f97a4584afbd52cc394a4e7e8c8 100644
--- a/ui/ozone/platform/cast/overlay_manager_cast.h
+++ b/ui/ozone/platform/cast/overlay_manager_cast.h
@@ -5,9 +5,10 @@
#ifndef UI_OZONE_PLATFORM_CAST_OVERLAY_MANAGER_CAST_H_
#define UI_OZONE_PLATFORM_CAST_OVERLAY_MANAGER_CAST_H_
+#include <memory>
+
#include "base/callback.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chromecast/public/graphics_types.h"
#include "chromecast/public/video_plane.h"
#include "ui/ozone/ozone_export.h"
@@ -21,7 +22,7 @@ class OZONE_EXPORT OverlayManagerCast : public OverlayManagerOzone {
~OverlayManagerCast() override;
// OverlayManagerOzone:
- scoped_ptr<OverlayCandidatesOzone> CreateOverlayCandidates(
+ std::unique_ptr<OverlayCandidatesOzone> CreateOverlayCandidates(
gfx::AcceleratedWidget w) override;
// Callback that's made whenever an overlay quad is processed
« no previous file with comments | « ui/ozone/platform/cast/client_native_pixmap_factory_cast.cc ('k') | ui/ozone/platform/cast/overlay_manager_cast.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698