| Index: gpu/command_buffer/service/command_buffer_service.cc
|
| diff --git a/gpu/command_buffer/service/command_buffer_service.cc b/gpu/command_buffer/service/command_buffer_service.cc
|
| index 2c732c6735339d7762bff6ad4b2166c1ad6f901f..1453a0acfb88660284faaf3758382bb27be4a912 100644
|
| --- a/gpu/command_buffer/service/command_buffer_service.cc
|
| +++ b/gpu/command_buffer/service/command_buffer_service.cc
|
| @@ -39,9 +39,7 @@ bool CommandBufferService::Initialize() {
|
|
|
| CommandBufferService::State CommandBufferService::GetLastState() {
|
| State state;
|
| - state.num_entries = num_entries_;
|
| state.get_offset = get_offset_;
|
| - state.put_offset = put_offset_;
|
| state.token = token_;
|
| state.error = error_;
|
| state.context_lost_reason = context_lost_reason_;
|
| @@ -174,6 +172,10 @@ void CommandBufferService::SetContextLostReason(
|
| context_lost_reason_ = reason;
|
| }
|
|
|
| +int32 CommandBufferService::GetPutOffset() {
|
| + return put_offset_;
|
| +}
|
| +
|
| void CommandBufferService::SetPutOffsetChangeCallback(
|
| const base::Closure& callback) {
|
| put_offset_change_callback_ = callback;
|
|
|