Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(732)

Unified Diff: ui/ozone/platform/drm/client_native_pixmap_factory_gbm.cc

Issue 1528373002: Replace Pass() with std::move in ui/ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698