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

Unified Diff: ui/ozone/platform/drm/gpu/drm_gpu_display_manager.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/drm/gpu/drm_gpu_display_manager.h
diff --git a/ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h b/ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h
index 23e80e66f710d5d84479a10270c55c1fca32da98..4cecf5970062eaa5f2aef848f0bb2f025c333b26 100644
--- a/ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h
+++ b/ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h
@@ -56,13 +56,13 @@ class DrmGpuDisplayManager {
// Notify ScreenManager of all the displays that were present before the
// update but are gone after the update.
void NotifyScreenManager(
- const std::vector<scoped_ptr<DrmDisplay>>& new_displays,
- const std::vector<scoped_ptr<DrmDisplay>>& old_displays) const;
+ const std::vector<std::unique_ptr<DrmDisplay>>& new_displays,
+ const std::vector<std::unique_ptr<DrmDisplay>>& old_displays) const;
ScreenManager* screen_manager_; // Not owned.
DrmDeviceManager* drm_device_manager_; // Not owned.
- std::vector<scoped_ptr<DrmDisplay>> displays_;
+ std::vector<std::unique_ptr<DrmDisplay>> displays_;
DISALLOW_COPY_AND_ASSIGN(DrmGpuDisplayManager);
};
« no previous file with comments | « ui/ozone/platform/drm/gpu/drm_device_manager.cc ('k') | ui/ozone/platform/drm/gpu/drm_gpu_display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698