Index: gpu/command_buffer/client/gles2_implementation_unittest.cc |
=================================================================== |
--- gpu/command_buffer/client/gles2_implementation_unittest.cc (revision 93137) |
+++ gpu/command_buffer/client/gles2_implementation_unittest.cc (working copy) |
@@ -46,10 +46,6 @@ |
return state_; |
} |
- virtual State GetLastState() { |
- return state_; |
- } |
- |
virtual void Flush(int32 put_offset) { |
state_.put_offset = put_offset; |
} |
@@ -262,7 +258,7 @@ |
false)); |
EXPECT_CALL(*command_buffer_, OnFlush(_)).Times(1).RetiresOnSaturation(); |
- helper_->CommandBufferHelper::Finish(); |
+ helper_->CommandBufferHelper::FlushSync(); |
Buffer ring_buffer = command_buffer_->GetRingBuffer(); |
commands_ = static_cast<CommandBufferEntry*>(ring_buffer.ptr) + |
command_buffer_->GetState().put_offset; |