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

Unified Diff: ui/ozone/platform/drm/host/drm_device_handle.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/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..2f14c03f6f0e6eaa5222c91082fcb73d68efc00e 100644
--- a/ui/ozone/platform/drm/host/drm_device_handle.cc
+++ b/ui/ozone/platform/drm/host/drm_device_handle.cc
@@ -65,7 +65,7 @@ bool DrmDeviceHandle::IsValid() const {
}
base::ScopedFD DrmDeviceHandle::PassFD() {
- return file_.Pass();
+ return std::move(file_);
}
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698