Index: ui/ozone/platform/drm/host/drm_device_handle.cc |
diff --git a/ui/ozone/platform/drm/host/drm_device_handle.cc b/ui/ozone/platform/drm/host/drm_device_handle.cc |
index 8d9fc0c53af256964ff95b8175229814145ae113..083c29253215f46bdc74d54d8a77e4891a4d9323 100644 |
--- a/ui/ozone/platform/drm/host/drm_device_handle.cc |
+++ b/ui/ozone/platform/drm/host/drm_device_handle.cc |
@@ -7,6 +7,7 @@ |
#include <fcntl.h> |
#include <xf86drm.h> |
#include <xf86drmMode.h> |
+#include <utility> |
#include "base/files/file_path.h" |
#include "base/posix/eintr_wrapper.h" |
@@ -65,7 +66,7 @@ bool DrmDeviceHandle::IsValid() const { |
} |
base::ScopedFD DrmDeviceHandle::PassFD() { |
- return file_.Pass(); |
+ return std::move(file_); |
} |
} // namespace ui |