Index: ui/ozone/platform/drm/gpu/hardware_display_controller.cc |
diff --git a/ui/ozone/platform/drm/gpu/hardware_display_controller.cc b/ui/ozone/platform/drm/gpu/hardware_display_controller.cc |
index 8cc82ef9cb24cb62da887c0dc3aa023bdfbecd62..46fb1f2cf86f8b87776ab563b72dc0849314bbce 100644 |
--- a/ui/ozone/platform/drm/gpu/hardware_display_controller.cc |
+++ b/ui/ozone/platform/drm/gpu/hardware_display_controller.cc |
@@ -134,7 +134,7 @@ void HardwareDisplayController::AddCrtc(scoped_ptr<CrtcController> controller) { |
owned_hardware_planes_.add( |
controller->drm().get(), |
scoped_ptr<HardwareDisplayPlaneList>(new HardwareDisplayPlaneList())); |
- crtc_controllers_.push_back(controller.release()); |
+ crtc_controllers_.push_back(controller.Pass()); |
} |
scoped_ptr<CrtcController> HardwareDisplayController::RemoveCrtc( |