Index: ui/ozone/platform/drm/gpu/screen_manager_unittest.cc |
diff --git a/ui/ozone/platform/drm/gpu/screen_manager_unittest.cc b/ui/ozone/platform/drm/gpu/screen_manager_unittest.cc |
index dc44702d51452417a0dffa3c3f8093037fead621..141b7e8bfd5d52c125d22d1bf4da7d2276b4d42b 100644 |
--- a/ui/ozone/platform/drm/gpu/screen_manager_unittest.cc |
+++ b/ui/ozone/platform/drm/gpu/screen_manager_unittest.cc |
@@ -225,7 +225,7 @@ TEST_F(ScreenManagerTest, CheckMirrorModeModesettingWithDisplaysMode) { |
ui::HardwareDisplayController* controller = |
screen_manager_->GetDisplayController(GetPrimaryBounds()); |
- for (ui::CrtcController* crtc : controller->crtc_controllers()) { |
+ for (const auto& crtc : controller->crtc_controllers()) { |
if (crtc->crtc() == kPrimaryCrtc) |
EXPECT_EQ(kDefaultMode.clock, crtc->mode().clock); |
else if (crtc->crtc() == kSecondaryCrtc) |