| Index: gpu/command_buffer/client/cmd_buffer_helper_test.cc
|
| ===================================================================
|
| --- gpu/command_buffer/client/cmd_buffer_helper_test.cc (revision 92876)
|
| +++ gpu/command_buffer/client/cmd_buffer_helper_test.cc (working copy)
|
| @@ -77,8 +77,8 @@
|
| .WillRepeatedly(
|
| Invoke(do_jump_command_.get(), &DoJumpCommand::DoCommand));
|
|
|
| - gpu_scheduler_.reset(new GpuScheduler(
|
| - command_buffer_.get(), NULL, parser_, 1));
|
| + gpu_scheduler_.reset(GpuScheduler::CreateForTests(
|
| + command_buffer_.get(), NULL, parser_));
|
| command_buffer_->SetPutOffsetChangeCallback(NewCallback(
|
| gpu_scheduler_.get(), &GpuScheduler::PutChanged));
|
|
|
| @@ -185,10 +185,6 @@
|
| args2[1].value_float = 6.f;
|
| AddCommandWithExpect(error::kNoError, kUnusedCommandId, 2, args2);
|
|
|
| - helper_->Flush();
|
| - // Check that the engine has work to do now.
|
| - EXPECT_FALSE(parser_->IsEmpty());
|
| -
|
| // Wait until it's done.
|
| helper_->Finish();
|
| // Check that the engine has no more work to do.
|
|
|