| 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 d64b8a53db337876a0de90b8333164d518998e6b..bd50d555d5cb8c60f7ba2a8f25da37d3965e9fa5 100644
|
| --- a/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
|
| +++ b/ui/ozone/platform/drm/gpu/hardware_display_plane_manager.cc
|
| @@ -109,7 +109,7 @@ bool HardwareDisplayPlaneManager::Initialize(DrmDevice* drm) {
|
| scoped_ptr<HardwareDisplayPlane> plane(
|
| CreatePlane(drm_plane->plane_id, drm_plane->possible_crtcs));
|
| if (plane->Initialize(drm))
|
| - planes_.push_back(plane.release());
|
| + planes_.push_back(plane.Pass());
|
| }
|
|
|
| // crbug.com/464085: if driver reports no primary planes for a crtc, create a
|
| @@ -123,7 +123,7 @@ bool HardwareDisplayPlaneManager::Initialize(DrmDevice* drm) {
|
| CreatePlane(resources->crtcs[i] - 1, (1 << i)));
|
| dummy_plane->set_is_dummy(true);
|
| if (dummy_plane->Initialize(drm))
|
| - planes_.push_back(dummy_plane.release());
|
| + planes_.push_back(dummy_plane.Pass());
|
| }
|
| }
|
| }
|
|
|