Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: gpu/command_buffer/service/common_decoder_unittest.cc

Issue 629913002: Replacing the OVERRIDE with override and FINAL with final in gpu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Included autogen python file for OVERRIDE Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/command_buffer/service/command_buffer_service.h ('k') | gpu/command_buffer/service/error_state.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
}
« no previous file with comments | « gpu/command_buffer/service/command_buffer_service.h ('k') | gpu/command_buffer/service/error_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698