Index: ui/ozone/platform/drm/gpu/gbm_device.cc |
diff --git a/ui/ozone/platform/drm/gpu/gbm_device.cc b/ui/ozone/platform/drm/gpu/gbm_device.cc |
index b25d82741f0cb1c7516edee60a430defb8da14d6..dfde8eb97603867260b46e0793de31758bbfadef 100644 |
--- a/ui/ozone/platform/drm/gpu/gbm_device.cc |
+++ b/ui/ozone/platform/drm/gpu/gbm_device.cc |
@@ -11,7 +11,7 @@ namespace ui { |
GbmDevice::GbmDevice(const base::FilePath& device_path, |
base::File file, |
bool is_primary_device) |
- : DrmDevice(device_path, file.Pass(), is_primary_device) {} |
+ : DrmDevice(device_path, std::move(file), is_primary_device) {} |
GbmDevice::~GbmDevice() { |
if (device_) |