Index: gpu/command_buffer/service/common_decoder.h |
diff --git a/gpu/command_buffer/service/common_decoder.h b/gpu/command_buffer/service/common_decoder.h |
index 03002c8b06f2baa87f072186f6d063054f38b014..5649e8d7031eaf6c06f1a7b91015e175d889c935 100644 |
--- a/gpu/command_buffer/service/common_decoder.h |
+++ b/gpu/command_buffer/service/common_decoder.h |
@@ -135,6 +135,11 @@ class GPU_EXPORT CommonDecoder : NON_EXPORTED_BASE(public AsyncAPIInterface) { |
Buffer GetSharedMemoryBuffer(unsigned int shm_id); |
protected: |
+ virtual void OnSetAsyncToken(uint32 async_token) { |
+ // This should only happen when this function is overriden. |
+ NOTREACHED(); |
+ } |
+ |
// Executes a common command. |
// Parameters: |
// command: the command index. |