| Index: gpu/command_buffer/common/constants.h
|
| diff --git a/gpu/command_buffer/common/constants.h b/gpu/command_buffer/common/constants.h
|
| index 68f0948eadeea706907bddf1d1b4a3ee18ba9cba..c2bcd5b52528e6f08d20e1acc35b2cd477307d5e 100644
|
| --- a/gpu/command_buffer/common/constants.h
|
| +++ b/gpu/command_buffer/common/constants.h
|
| @@ -23,12 +23,14 @@ namespace error {
|
| kLostContext,
|
| kGenericError,
|
| kDeferCommandUntilLater,
|
| - kErrorLast = kDeferCommandUntilLater,
|
| + kDeferLaterCommands,
|
| + kErrorLast = kDeferLaterCommands,
|
| };
|
|
|
| // Return true if the given error code is an actual error.
|
| inline bool IsError(Error error) {
|
| - return error != kNoError && error != kDeferCommandUntilLater;
|
| + return error != kNoError && error != kDeferCommandUntilLater &&
|
| + error != kDeferLaterCommands;
|
| }
|
|
|
| // Provides finer grained information about why the context was lost.
|
|
|