Index: gpu/command_buffer/client/ring_buffer_test.cc |
=================================================================== |
--- gpu/command_buffer/client/ring_buffer_test.cc (revision 92876) |
+++ gpu/command_buffer/client/ring_buffer_test.cc (working copy) |
@@ -71,8 +71,8 @@ |
0, |
api_mock_.get()); |
- gpu_scheduler_.reset(new GpuScheduler( |
- command_buffer_.get(), NULL, parser_, INT_MAX)); |
+ gpu_scheduler_.reset(GpuScheduler::CreateForTests( |
+ command_buffer_.get(), NULL, parser_)); |
command_buffer_->SetPutOffsetChangeCallback(NewCallback( |
gpu_scheduler_.get(), &GpuScheduler::PutChanged)); |