Index: ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc |
diff --git a/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc b/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc |
index da54ecc67d8b3051768a89a3511bc098a7cde374..e546bf2ed03c931898df1a4385ba2352788a56b9 100644 |
--- a/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc |
+++ b/ui/ozone/platform/drm/gpu/drm_gpu_platform_support.cc |
@@ -182,7 +182,7 @@ DrmGpuPlatformSupport::~DrmGpuPlatformSupport() { |
} |
void DrmGpuPlatformSupport::AddHandler(scoped_ptr<GpuPlatformSupport> handler) { |
- handlers_.push_back(handler.release()); |
+ handlers_.push_back(handler.Pass()); |
} |
void DrmGpuPlatformSupport::OnChannelEstablished(IPC::Sender* sender) { |