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

Unified Diff: ui/ozone/platform/cast/surface_factory_cast.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/cast/surface_factory_cast.cc
diff --git a/ui/ozone/platform/cast/surface_factory_cast.cc b/ui/ozone/platform/cast/surface_factory_cast.cc
index f92e1c9aac5fc9e2f61881e109ebf2ab6d6c6b51..26f7ca8d89966d4efbebe78551d98815da9cb421 100644
--- a/ui/ozone/platform/cast/surface_factory_cast.cc
+++ b/ui/ozone/platform/cast/surface_factory_cast.cc
@@ -76,8 +76,7 @@ SurfaceFactoryCast::SurfaceFactoryCast(scoped_ptr<CastEglPlatform> egl_platform)
window_(0),
display_size_(GetInitialDisplaySize()),
new_display_size_(GetInitialDisplaySize()),
- egl_platform_(egl_platform.Pass()) {
-}
+ egl_platform_(std::move(egl_platform)) {}
SurfaceFactoryCast::~SurfaceFactoryCast() {
ShutdownHardware();

Powered by Google App Engine
This is Rietveld 408576698