| Index: gpu/command_buffer/client/context_support.h
|
| diff --git a/gpu/command_buffer/client/context_support.h b/gpu/command_buffer/client/context_support.h
|
| index 0e7c75c7d8c2b938e42eca8e31aee8b6bdbcee72..c72cf37f16f20ab805672197f7e1ad2200a06036 100644
|
| --- a/gpu/command_buffer/client/context_support.h
|
| +++ b/gpu/command_buffer/client/context_support.h
|
| @@ -52,6 +52,10 @@ class ContextSupport {
|
| // this context's resources belong to.
|
| virtual uint64_t ShareGroupTracingGUID() const = 0;
|
|
|
| + // Sets a callback to be run when an error occurs.
|
| + virtual void SetErrorMessageCallback(
|
| + const base::Callback<void(const char*, int32_t)>& callback) = 0;
|
| +
|
| protected:
|
| ContextSupport() {}
|
| virtual ~ContextSupport() {}
|
|
|