Index: gpu/command_buffer/service/common_decoder_unittest.cc |
diff --git a/gpu/command_buffer/service/common_decoder_unittest.cc b/gpu/command_buffer/service/common_decoder_unittest.cc |
index 0faa8e97c0e89e9bfda2198eb4a1b753847ae516..cc965cd9e4cb72bb14e8afd92928a54487af4d63 100644 |
--- a/gpu/command_buffer/service/common_decoder_unittest.cc |
+++ b/gpu/command_buffer/service/common_decoder_unittest.cc |
@@ -51,7 +51,7 @@ TEST(CommonDecoderBucket, SetData) { |
class TestCommonDecoder : public CommonDecoder { |
public: |
// Overridden from AsyncAPIInterface |
- virtual const char* GetCommandName(unsigned int command_id) const OVERRIDE { |
+ virtual const char* GetCommandName(unsigned int command_id) const override { |
return GetCommonCommandName(static_cast<cmd::CommandId>(command_id)); |
} |
@@ -59,7 +59,7 @@ class TestCommonDecoder : public CommonDecoder { |
virtual error::Error DoCommand( |
unsigned int command, |
unsigned int arg_count, |
- const void* cmd_data) OVERRIDE { |
+ const void* cmd_data) override { |
return DoCommonCommand(command, arg_count, cmd_data); |
} |
@@ -88,7 +88,7 @@ class MockCommandBufferEngine : public CommandBufferEngine { |
// Overridden from CommandBufferEngine. |
virtual scoped_refptr<gpu::Buffer> GetSharedMemoryBuffer(int32 shm_id) |
- OVERRIDE { |
+ override { |
if (IsValidSharedMemoryId(shm_id)) |
return buffer_; |
return NULL; |
@@ -110,7 +110,7 @@ class MockCommandBufferEngine : public CommandBufferEngine { |
} |
// Overridden from CommandBufferEngine. |
- virtual void set_token(int32 token) OVERRIDE { |
+ virtual void set_token(int32 token) override { |
token_ = token; |
} |
@@ -119,13 +119,13 @@ class MockCommandBufferEngine : public CommandBufferEngine { |
} |
// Overridden from CommandBufferEngine. |
- virtual bool SetGetBuffer(int32 transfer_buffer_id) OVERRIDE { |
+ virtual bool SetGetBuffer(int32 transfer_buffer_id) override { |
NOTREACHED(); |
return false; |
} |
// Overridden from CommandBufferEngine. |
- virtual bool SetGetOffset(int32 offset) OVERRIDE { |
+ virtual bool SetGetOffset(int32 offset) override { |
if (static_cast<size_t>(offset) < kBufferSize) { |
get_offset_ = offset; |
return true; |
@@ -134,7 +134,7 @@ class MockCommandBufferEngine : public CommandBufferEngine { |
} |
// Overridden from CommandBufferEngine. |
- virtual int32 GetGetOffset() OVERRIDE { |
+ virtual int32 GetGetOffset() override { |
return get_offset_; |
} |