| Index: gpu/command_buffer/service/context_group_unittest.cc
|
| diff --git a/gpu/command_buffer/service/context_group_unittest.cc b/gpu/command_buffer/service/context_group_unittest.cc
|
| index 983130f4479d05e948ad82ecf12745b99ad21ac0..11df9e85af09c0e8082a506191643f6e92acba5d 100644
|
| --- a/gpu/command_buffer/service/context_group_unittest.cc
|
| +++ b/gpu/command_buffer/service/context_group_unittest.cc
|
| @@ -38,7 +38,8 @@ class ContextGroupTest : public testing::Test {
|
| gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>());
|
| ::gfx::GLInterface::SetGLInterface(gl_.get());
|
| decoder_.reset(new MockGLES2Decoder());
|
| - group_ = ContextGroup::Ref(new ContextGroup(NULL, NULL, NULL, true));
|
| + group_ = scoped_refptr<ContextGroup>(
|
| + new ContextGroup(NULL, NULL, NULL, true));
|
| }
|
|
|
| virtual void TearDown() {
|
| @@ -48,7 +49,7 @@ class ContextGroupTest : public testing::Test {
|
|
|
| scoped_ptr< ::testing::StrictMock< ::gfx::MockGLInterface> > gl_;
|
| scoped_ptr<MockGLES2Decoder> decoder_;
|
| - ContextGroup::Ref group_;
|
| + scoped_refptr<ContextGroup> group_;
|
| };
|
|
|
| TEST_F(ContextGroupTest, Basic) {
|
|
|