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..01ae9f7cbae709c051127ffed246b32b077df6e0 100644 |
--- a/ui/ozone/platform/cast/surface_factory_cast.cc |
+++ b/ui/ozone/platform/cast/surface_factory_cast.cc |
@@ -6,6 +6,7 @@ |
#include <dlfcn.h> |
#include <EGL/egl.h> |
+#include <utility> |
#include "base/callback_helpers.h" |
#include "chromecast/public/cast_egl_platform.h" |
@@ -76,8 +77,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(); |