| 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 e0eb64a36f9bd3b54c05bfa726be1d4b56ed8334..e0f1e21860d03af0dd32b9ef0e7a80550876c98a 100644
|
| --- a/gpu/command_buffer/service/context_group_unittest.cc
|
| +++ b/gpu/command_buffer/service/context_group_unittest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "gpu/command_buffer/service/context_group.h"
|
|
|
| #include "base/memory/scoped_ptr.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "gpu/command_buffer/common/gl_mock.h"
|
| #include "gpu/command_buffer/service/test_helper.h"
|
| #include "gpu/command_buffer/service/texture_manager.h"
|
| @@ -25,6 +26,8 @@ using ::testing::StrEq;
|
| using ::testing::StrictMock;
|
|
|
| namespace gpu {
|
| +class ShaderCache;
|
| +
|
| namespace gles2 {
|
|
|
| class ContextGroupTest : public testing::Test {
|
| @@ -36,7 +39,9 @@ class ContextGroupTest : public testing::Test {
|
| virtual void SetUp() {
|
| gl_.reset(new ::testing::StrictMock< ::gfx::MockGLInterface>());
|
| ::gfx::GLInterface::SetGLInterface(gl_.get());
|
| - group_ = ContextGroup::Ref(new ContextGroup(NULL, true));
|
| + group_ = ContextGroup::Ref(new ContextGroup(NULL,
|
| + true,
|
| + base::WeakPtr<ShaderCache>()));
|
| }
|
|
|
| virtual void TearDown() {
|
|
|