diff options
Diffstat (limited to 'gpu/command_buffer/client/gles2_implementation_unittest.cc')
-rw-r--r-- | gpu/command_buffer/client/gles2_implementation_unittest.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gpu/command_buffer/client/gles2_implementation_unittest.cc b/gpu/command_buffer/client/gles2_implementation_unittest.cc index 9643b55..eb003a5 100644 --- a/gpu/command_buffer/client/gles2_implementation_unittest.cc +++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc @@ -95,6 +95,11 @@ class GLES2MockCommandBufferHelper : public CommandBuffer { state_.error = error; } + virtual void SetContextLostReason(error::ContextLostReason reason) { + GPU_NOTREACHED(); + state_.context_lost_reason = reason; + } + virtual void OnFlush(void* transfer_buffer) = 0; private: |