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

Unified Diff: ui/ozone/platform/drm/gpu/mock_drm_device.cc

Issue 1528373002: Replace Pass() with std::move in ui/ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add #include <utility> 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/gpu/mock_drm_device.cc
diff --git a/ui/ozone/platform/drm/gpu/mock_drm_device.cc b/ui/ozone/platform/drm/gpu/mock_drm_device.cc
index 8f3e751b235799fde7658186e3fc8bf24ccb03cb..80ba401e0253d89e5b314f1caca7b66a47690bfd 100644
--- a/ui/ozone/platform/drm/gpu/mock_drm_device.cc
+++ b/ui/ozone/platform/drm/gpu/mock_drm_device.cc
@@ -7,6 +7,7 @@
#include <drm_fourcc.h>
#include <xf86drm.h>
#include <xf86drmMode.h>
+#include <utility>
#include "base/logging.h"
#include "third_party/skia/include/core/SkCanvas.h"
@@ -37,7 +38,7 @@ class MockHardwareDisplayPlaneManager
// Add support to test more formats.
plane->Initialize(drm, std::vector<uint32_t>(1, DRM_FORMAT_XRGB8888),
false, true);
- planes_.push_back(plane.Pass());
+ planes_.push_back(std::move(plane));
}
}
}
« no previous file with comments | « ui/ozone/platform/drm/gpu/hardware_display_plane_manager_unittest.cc ('k') | ui/ozone/platform/drm/gpu/screen_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698