Index: ui/ozone/platform/drm/gpu/mock_drm_device.cc |
diff --git a/ui/ozone/platform/drm/gpu/mock_drm_device.cc b/ui/ozone/platform/drm/gpu/mock_drm_device.cc |
index 8f3e751b235799fde7658186e3fc8bf24ccb03cb..8955131dff9f84dc9de209dafb64f8cdbdb81476 100644 |
--- a/ui/ozone/platform/drm/gpu/mock_drm_device.cc |
+++ b/ui/ozone/platform/drm/gpu/mock_drm_device.cc |
@@ -37,7 +37,7 @@ class MockHardwareDisplayPlaneManager |
// Add support to test more formats. |
plane->Initialize(drm, std::vector<uint32_t>(1, DRM_FORMAT_XRGB8888), |
false, true); |
- planes_.push_back(plane.Pass()); |
+ planes_.push_back(std::move(plane)); |
} |
} |
} |