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; |