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

Unified Diff: ui/gl/gl_surface_win.cc

Issue 1530923002: Replace Pass() with std::move in ui/gl and ui/gfx (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
« ui/gfx/win/direct_manipulation.cc ('K') | « ui/gl/gl_surface_ozone.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_surface_win.cc
diff --git a/ui/gl/gl_surface_win.cc b/ui/gl/gl_surface_win.cc
index 93410cae6aed0293c2c5b48467a1d05b4c505e87..2a934d4f7e6aefcd1d697b8037670736ec25f90d 100644
--- a/ui/gl/gl_surface_win.cc
+++ b/ui/gl/gl_surface_win.cc
@@ -312,7 +312,7 @@ scoped_refptr<GLSurface> GLSurface::CreateViewGLSurface(
new NativeViewGLSurfaceEGL(window));
scoped_ptr<VSyncProvider> sync_provider;
sync_provider.reset(new WinVSyncProvider(window));
- if (!surface->Initialize(sync_provider.Pass()))
+ if (!surface->Initialize(std::move(sync_provider)))
return NULL;
return surface;
« ui/gfx/win/direct_manipulation.cc ('K') | « ui/gl/gl_surface_ozone.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698