summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornick <nick@chromium.org>2015-04-24 11:33:42 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-24 18:33:46 +0000
commitbd48e5909786f81f75052d45e770c823b5935d3e (patch)
treed9be434d5877c5777dd9434d2290f5363a3fb3fe
parente733e8f9066efccf0dd05dbeaa94ed62828b22a5 (diff)
downloadchromium_src-bd48e5909786f81f75052d45e770c823b5935d3e.zip
chromium_src-bd48e5909786f81f75052d45e770c823b5935d3e.tar.gz
chromium_src-bd48e5909786f81f75052d45e770c823b5935d3e.tar.bz2
Update {virtual,override} to follow C++11 style in gpu.
The Google style guide states that only one of {virtual,override,final} should be used for each declaration, since override implies virtual and final implies both virtual and override. This patch was manually generated using a regex and a text editor. NOTRY=true BUG=417463 Review URL: https://codereview.chromium.org/1101013002 Cr-Commit-Position: refs/heads/master@{#326845}
-rw-r--r--gpu/command_buffer/client/client_test_helper.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gpu/command_buffer/client/client_test_helper.h b/gpu/command_buffer/client/client_test_helper.h
index 46e343d..c155bf1 100644
--- a/gpu/command_buffer/client/client_test_helper.h
+++ b/gpu/command_buffer/client/client_test_helper.h
@@ -63,14 +63,14 @@ class MockCommandBufferBase : public CommandBufferServiceBase {
class MockClientCommandBuffer : public MockCommandBufferBase {
public:
MockClientCommandBuffer();
- virtual ~MockClientCommandBuffer();
+ ~MockClientCommandBuffer() override;
// This is so we can use all the gmock functions when Flush is called.
MOCK_METHOD0(OnFlush, void());
MOCK_METHOD1(DestroyTransferBuffer, void(int32 id));
- virtual void Flush(int32 put_offset) override;
- virtual void OrderingBarrier(int32 put_offset) override;
+ void Flush(int32 put_offset) override;
+ void OrderingBarrier(int32 put_offset) override;
void DelegateToFake();
};