| 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..e016912acfb8175c1475af440858db7b00347e87 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"
|
| @@ -26,6 +27,7 @@ using ::testing::StrictMock;
|
|
|
| namespace gpu {
|
| namespace gles2 {
|
| +class ProgramCache;
|
|
|
| class ContextGroupTest : public testing::Test {
|
| public:
|
| @@ -36,7 +38,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<ProgramCache>()));
|
| }
|
|
|
| virtual void TearDown() {
|
|
|