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

Unified Diff: ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h

Issue 1438343002: Remove deprecated ScopedVector usage from ui/ozone and ui/events/ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove HDCI stuff Created 5 years, 1 month 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/drm/gpu/crtc_controller.cc ('k') | ui/ozone/platform/drm/gpu/drm_gpu_display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 c4a3e21f30128f6ff89ba6a463bd234b3d4407d7..2610dc5225b093f2150e71e1416804d29bde5374 100644
--- a/ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h
+++ b/ui/ozone/platform/drm/gpu/drm_gpu_display_manager.h
@@ -43,13 +43,14 @@ 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<DrmDisplay*>& new_displays,
- const std::vector<DrmDisplay*>& old_displays) const;
+ void NotifyScreenManager(
+ const std::vector<scoped_ptr<DrmDisplay>>& new_displays,
+ const std::vector<scoped_ptr<DrmDisplay>>& old_displays) const;
ScreenManager* screen_manager_; // Not owned.
DrmDeviceManager* drm_device_manager_; // Not owned.
- ScopedVector<DrmDisplay> displays_;
+ std::vector<scoped_ptr<DrmDisplay>> displays_;
DISALLOW_COPY_AND_ASSIGN(DrmGpuDisplayManager);
};
« no previous file with comments | « ui/ozone/platform/drm/gpu/crtc_controller.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