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

Unified Diff: ui/ozone/platform/drm/gpu/crtc_controller.cc

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: 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
Index: ui/ozone/platform/drm/gpu/crtc_controller.cc
diff --git a/ui/ozone/platform/drm/gpu/crtc_controller.cc b/ui/ozone/platform/drm/gpu/crtc_controller.cc
index 46efd4609b8cd194dbda90e75f1aaa0478ae4013..7e4233f4cd1ccbbe25b8914590d79922a12b05b3 100644
--- a/ui/ozone/platform/drm/gpu/crtc_controller.cc
+++ b/ui/ozone/platform/drm/gpu/crtc_controller.cc
@@ -21,9 +21,9 @@ CrtcController::CrtcController(const scoped_refptr<DrmDevice>& drm,
CrtcController::~CrtcController() {
if (!is_disabled_) {
- const ScopedVector<HardwareDisplayPlane>& all_planes =
+ const std::vector<scoped_ptr<HardwareDisplayPlane>>& all_planes =
drm_->plane_manager()->planes();
- for (auto* plane : all_planes) {
+ for (const auto& plane : all_planes) {
if (plane->owning_crtc() == crtc_) {
plane->set_owning_crtc(0);
plane->set_in_use(false);

Powered by Google App Engine
This is Rietveld 408576698