Index: ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc |
diff --git a/ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc b/ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc |
index 4a094654162a14f2df342b8b8fdfdd7f2ff12c14..cdb78f82f622637c94c884094adcd8a93e7d50b0 100644 |
--- a/ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc |
+++ b/ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc |
@@ -41,7 +41,7 @@ class ClientNativePixmapFactoryGbm : public ClientNativePixmapFactory { |
// It's called in IO thread. We rely on clients for thread-safety. |
// Switching to an IPC message filter ensures thread-safety. |
DCHECK_LT(vgem_fd_.get(), 0); |
- vgem_fd_ = device_fd.Pass(); |
+ vgem_fd_ = std::move(device_fd); |
#endif |
} |
bool IsConfigurationSupported(gfx::BufferFormat format, |