| Index: gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| diff --git a/gpu/command_buffer/client/gles2_implementation_unittest.cc b/gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| index dd3d8259a56bb786c84e3645673fde81133c8b94..c5062a8a866790e9965ec677bb49fe47e1afdcfd 100644
|
| --- a/gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| +++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc
|
| @@ -491,14 +491,15 @@ class GLES2ImplementationTest : public testing::Test {
|
| lose_context_when_out_of_memory,
|
| support_client_side_arrays,
|
| gpu_control_.get()));
|
| -
|
| - if (!gl_->Initialize(kTransferBufferSize,
|
| - kTransferBufferSize,
|
| - kTransferBufferSize,
|
| - GLES2Implementation::kNoLimit))
|
| - return false;
|
| }
|
|
|
| + // The client should be set to something non-null.
|
| + EXPECT_CALL(*gpu_control_, SetGpuControlClient(gl_.get())).Times(1);
|
| +
|
| + if (!gl_->Initialize(kTransferBufferSize, kTransferBufferSize,
|
| + kTransferBufferSize, GLES2Implementation::kNoLimit))
|
| + return false;
|
| +
|
| helper_->CommandBufferHelper::Finish();
|
| ::testing::Mock::VerifyAndClearExpectations(gl_.get());
|
|
|
|
|