Index: ui/ozone/platform/drm/gpu/drm_device_generator.cc |
diff --git a/ui/ozone/platform/drm/gpu/drm_device_generator.cc b/ui/ozone/platform/drm/gpu/drm_device_generator.cc |
index d1bde616a2539a54e165085ac0facccf1d1715da..d85e0a42270c75f1f77cb8842d9c6eef2994ee7d 100644 |
--- a/ui/ozone/platform/drm/gpu/drm_device_generator.cc |
+++ b/ui/ozone/platform/drm/gpu/drm_device_generator.cc |
@@ -19,7 +19,7 @@ scoped_refptr<DrmDevice> DrmDeviceGenerator::CreateDevice( |
base::File file, |
bool is_primary_device) { |
scoped_refptr<DrmDevice> drm = |
- new DrmDevice(device_path, file.Pass(), is_primary_device); |
+ new DrmDevice(device_path, std::move(file), is_primary_device); |
if (drm->Initialize(false)) |
return drm; |