Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc |
=================================================================== |
--- gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (revision 98483) |
+++ gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc (working copy) |
@@ -55,7 +55,8 @@ |
false, // has stencil |
true, // request alpha |
true, // request depth |
- false); // request stencil |
+ false, // request stencil |
+ true); // bind generates resource |
} |
void GLES2DecoderTestBase::InitDecoder( |
@@ -65,11 +66,12 @@ |
bool has_stencil, |
bool request_alpha, |
bool request_depth, |
- bool request_stencil) { |
+ bool request_stencil, |
+ bool bind_generates_resource) { |
gl_.reset(new StrictMock<MockGLInterface>()); |
::gfx::GLInterface::SetGLInterface(gl_.get()); |
surface_manager_.reset(new StrictMock<MockSurfaceManager>); |
- group_ = ContextGroup::Ref(new ContextGroup()); |
+ group_ = ContextGroup::Ref(new ContextGroup(bind_generates_resource)); |
InSequence sequence; |