| Index: ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
|
| diff --git a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
|
| index 88ee51bd3161d917c77057ac8a09b61382a0100c..ba51c2d0db4b21c95c05b1e7657a7a31d4930ab3 100644
|
| --- a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
|
| +++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
|
| @@ -108,7 +108,7 @@ bool HardwareDisplayPlaneManager::Initialize(DrmDevice* drm) {
|
| // plane is updated via cursor specific DRM API. Hence, we dont keep
|
| // track of Cursor plane here to avoid re-using it for any other purpose.
|
| if (plane->type() != HardwareDisplayPlane::kCursor)
|
| - planes_.push_back(plane.Pass());
|
| + planes_.push_back(std::move(plane));
|
| }
|
| }
|
|
|
| @@ -123,7 +123,7 @@ bool HardwareDisplayPlaneManager::Initialize(DrmDevice* drm) {
|
| CreatePlane(resources->crtcs[i] - 1, (1 << i)));
|
| if (dummy_plane->Initialize(drm, std::vector<uint32_t>(), true,
|
| false)) {
|
| - planes_.push_back(dummy_plane.Pass());
|
| + planes_.push_back(std::move(dummy_plane));
|
| }
|
| }
|
| }
|
|
|