| Index: gpu/command_buffer/client/fenced_allocator_test.cc
|
| ===================================================================
|
| --- gpu/command_buffer/client/fenced_allocator_test.cc (revision 42644)
|
| +++ gpu/command_buffer/client/fenced_allocator_test.cc (working copy)
|
| @@ -52,12 +52,12 @@
|
| 0,
|
| api_mock_.get());
|
|
|
| - scoped_refptr<GPUProcessor> gpu_processor(new GPUProcessor(
|
| + gpu_processor_.reset(new GPUProcessor(
|
| command_buffer_.get(), NULL, parser_, INT_MAX));
|
| command_buffer_->SetPutOffsetChangeCallback(NewCallback(
|
| - gpu_processor.get(), &GPUProcessor::ProcessCommands));
|
| + gpu_processor_.get(), &GPUProcessor::ProcessCommands));
|
|
|
| - api_mock_->set_engine(gpu_processor.get());
|
| + api_mock_->set_engine(gpu_processor_.get());
|
|
|
| helper_.reset(new CommandBufferHelper(command_buffer_.get()));
|
| helper_->Initialize();
|
| @@ -76,6 +76,7 @@
|
| MessageLoop message_loop_;
|
| scoped_ptr<AsyncAPIMock> api_mock_;
|
| scoped_ptr<CommandBufferService> command_buffer_;
|
| + scoped_ptr<GPUProcessor> gpu_processor_;
|
| CommandParser* parser_;
|
| scoped_ptr<CommandBufferHelper> helper_;
|
| };
|
|
|