summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/mocks.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/mocks.h')
-rw-r--r--gpu/command_buffer/service/mocks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/command_buffer/service/mocks.h b/gpu/command_buffer/service/mocks.h
index c2b610a..a7eea11 100644
--- a/gpu/command_buffer/service/mocks.h
+++ b/gpu/command_buffer/service/mocks.h
@@ -22,8 +22,8 @@ namespace gpu {
class AsyncAPIMock : public AsyncAPIInterface {
public:
AsyncAPIMock() {
- testing::DefaultValue<parse_error::ParseError>::Set(
- parse_error::kParseNoError);
+ testing::DefaultValue<error::Error>::Set(
+ error::kNoError);
}
// Predicate that matches args passed to DoCommand, by looking at the values.
@@ -48,7 +48,7 @@ class AsyncAPIMock : public AsyncAPIInterface {
CommandBufferEntry *args_;
};
- MOCK_METHOD3(DoCommand, parse_error::ParseError(
+ MOCK_METHOD3(DoCommand, error::Error(
unsigned int command,
unsigned int arg_count,
const void* cmd_data));