Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h |
index 68bfdcd29b923b138f9d908be32d6888a68b9a13..cf9d5a77b40ea46c398077e00a8d612c470ac920 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.h |
@@ -8,6 +8,8 @@ |
#include <stddef.h> |
#include <stdint.h> |
+#include <memory> |
+ |
#include "base/message_loop/message_loop.h" |
#include "gpu/command_buffer/common/gles2_cmd_format.h" |
#include "gpu/command_buffer/common/gles2_cmd_utils.h" |
@@ -627,11 +629,11 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> { |
static const char* kOutputVariable1NameESSL3; |
// Use StrictMock to make 100% sure we know how GL will be called. |
- scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_; |
+ std::unique_ptr<::testing::StrictMock<::gfx::MockGLInterface>> gl_; |
scoped_refptr<gfx::GLSurfaceStub> surface_; |
scoped_refptr<GLContextMock> context_; |
- scoped_ptr<MockGLES2Decoder> mock_decoder_; |
- scoped_ptr<GLES2Decoder> decoder_; |
+ std::unique_ptr<MockGLES2Decoder> mock_decoder_; |
+ std::unique_ptr<GLES2Decoder> decoder_; |
MemoryTracker* memory_tracker_; |
GLuint client_buffer_id_; |
@@ -754,7 +756,7 @@ class GLES2DecoderTestBase : public ::testing::TestWithParam<bool> { |
void SetupInitStateManualExpectations(bool es3_capable); |
- scoped_ptr< ::testing::StrictMock<MockCommandBufferEngine> > engine_; |
+ std::unique_ptr<::testing::StrictMock<MockCommandBufferEngine>> engine_; |
GpuPreferences gpu_preferences_; |
scoped_refptr<ContextGroup> group_; |
MockGLStates gl_states_; |