diff options
Diffstat (limited to 'content/common/gpu/client/grcontext_for_webgraphicscontext3d.cc')
| -rw-r--r-- | content/common/gpu/client/grcontext_for_webgraphicscontext3d.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/content/common/gpu/client/grcontext_for_webgraphicscontext3d.cc b/content/common/gpu/client/grcontext_for_webgraphicscontext3d.cc index 492b42e..5cd4944 100644 --- a/content/common/gpu/client/grcontext_for_webgraphicscontext3d.cc +++ b/content/common/gpu/client/grcontext_for_webgraphicscontext3d.cc @@ -6,6 +6,7 @@ #include <stddef.h> #include <string.h> +#include <utility> #include "base/lazy_instance.h" #include "base/macros.h" @@ -89,8 +90,7 @@ void GrContextForWebGraphicsContext3D::FreeGpuResources() { GrGLInterfaceForWebGraphicsContext3D::GrGLInterfaceForWebGraphicsContext3D( scoped_ptr<gpu_blink::WebGraphicsContext3DImpl> context3d) - : context3d_(context3d.Pass()) { -} + : context3d_(std::move(context3d)) {} void GrGLInterfaceForWebGraphicsContext3D::BindToCurrentThread() { context_thread_checker_.DetachFromThread(); |
