summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/common/constants.h')
-rw-r--r--gpu/command_buffer/common/constants.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/gpu/command_buffer/common/constants.h b/gpu/command_buffer/common/constants.h
index d6f9dfb..b208153 100644
--- a/gpu/command_buffer/common/constants.h
+++ b/gpu/command_buffer/common/constants.h
@@ -12,15 +12,15 @@ namespace gpu {
typedef int32 CommandBufferOffset;
const CommandBufferOffset kInvalidCommandBufferOffset = -1;
-// TODO(apatrick): rename to something more generic like just Error.
-namespace parse_error {
- enum ParseError {
- kParseNoError,
- kParseInvalidSize,
- kParseOutOfBounds,
- kParseUnknownCommand,
- kParseInvalidArguments,
- kParseGenericError
+// This enum must stay in sync with NPDeviceContext3DError.
+namespace error {
+ enum Error {
+ kNoError,
+ kInvalidSize,
+ kOutOfBounds,
+ kUnknownCommand,
+ kInvalidArguments,
+ kGenericError
};
}