| Index: gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h
|
| diff --git a/gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h b/gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h
|
| index 2dd275d5d872695c3f481af457db51cb24eabba8..cb57ba2fb160ab1b5acb1815bb10e23d90a508a3 100644
|
| --- a/gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h
|
| +++ b/gpu/blink/webgraphicscontext3d_in_process_command_buffer_impl.h
|
| @@ -7,10 +7,10 @@
|
|
|
| #include <stddef.h>
|
|
|
| +#include <memory>
|
| #include <vector>
|
|
|
| #include "base/compiler_specific.h"
|
| -#include "base/memory/scoped_ptr.h"
|
| #include "gpu/blink/gpu_blink_export.h"
|
| #include "gpu/blink/webgraphicscontext3d_impl.h"
|
| #include "gpu/command_buffer/client/gl_in_process_context.h"
|
| @@ -38,13 +38,13 @@ class GPU_BLINK_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
|
| kNoLimit = 0,
|
| };
|
|
|
| - static scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl>
|
| + static std::unique_ptr<WebGraphicsContext3DInProcessCommandBufferImpl>
|
| CreateOffscreenContext(
|
| const gpu::gles2::ContextCreationAttribHelper& attributes);
|
|
|
| - static scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> WrapContext(
|
| - scoped_ptr<::gpu::GLInProcessContext> context,
|
| - const gpu::gles2::ContextCreationAttribHelper& attributes);
|
| + static std::unique_ptr<WebGraphicsContext3DInProcessCommandBufferImpl>
|
| + WrapContext(std::unique_ptr<::gpu::GLInProcessContext> context,
|
| + const gpu::gles2::ContextCreationAttribHelper& attributes);
|
|
|
| ~WebGraphicsContext3DInProcessCommandBufferImpl() override;
|
|
|
| @@ -61,7 +61,7 @@ class GPU_BLINK_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
|
|
|
| private:
|
| WebGraphicsContext3DInProcessCommandBufferImpl(
|
| - scoped_ptr<::gpu::GLInProcessContext> context,
|
| + std::unique_ptr<::gpu::GLInProcessContext> context,
|
| const gpu::gles2::ContextCreationAttribHelper& attributes,
|
| bool is_offscreen,
|
| gfx::AcceleratedWidget window);
|
| @@ -81,7 +81,7 @@ class GPU_BLINK_EXPORT WebGraphicsContext3DInProcessCommandBufferImpl
|
| gfx::AcceleratedWidget window_;
|
|
|
| // The context we use for OpenGL rendering.
|
| - scoped_ptr< ::gpu::GLInProcessContext> context_;
|
| + std::unique_ptr<::gpu::GLInProcessContext> context_;
|
| // The GLES2Implementation we use for OpenGL rendering.
|
| ::gpu::gles2::GLES2Implementation* real_gl_;
|
| };
|
|
|