Index: content/common/gpu/client/grcontext_for_webgraphicscontext3d.cc |
diff --git a/content/common/gpu/client/grcontext_for_webgraphicscontext3d.cc b/content/common/gpu/client/grcontext_for_webgraphicscontext3d.cc |
index 492b42ee124f7c97229beb52c2cb78fdbeb34579..5cd4944db68ed071ebbfd9efee8ca6da08f02562 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(); |