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

Unified Diff: gpu/command_buffer/client/gles2_implementation_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
Index: gpu/command_buffer/client/gles2_implementation_unittest.cc
diff --git a/gpu/command_buffer/client/gles2_implementation_unittest.cc b/gpu/command_buffer/client/gles2_implementation_unittest.cc
index 80a2e4161394540dcfb8b625ac01bb9e570a4cef..658b7e290cfd3b9f22bbaef0e7fc1fa6c3a2b852 100644
--- a/gpu/command_buffer/client/gles2_implementation_unittest.cc
+++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc
@@ -122,17 +122,17 @@ class MockTransferBuffer : public TransferBufferInterface {
unsigned int /* min_buffer_size */,
unsigned int /* max_buffer_size */,
unsigned int alignment,
- unsigned int size_to_flush) OVERRIDE;
- virtual int GetShmId() OVERRIDE;
- virtual void* GetResultBuffer() OVERRIDE;
- virtual int GetResultOffset() OVERRIDE;
- virtual void Free() OVERRIDE;
- virtual bool HaveBuffer() const OVERRIDE;
+ unsigned int size_to_flush) override;
+ virtual int GetShmId() override;
+ virtual void* GetResultBuffer() override;
+ virtual int GetResultOffset() override;
+ virtual void Free() override;
+ virtual bool HaveBuffer() const override;
virtual void* AllocUpTo(
- unsigned int size, unsigned int* size_allocated) OVERRIDE;
- virtual void* Alloc(unsigned int size) OVERRIDE;
- virtual RingBuffer::Offset GetOffset(void* pointer) const OVERRIDE;
- virtual void FreePendingToken(void* p, unsigned int /* token */) OVERRIDE;
+ unsigned int size, unsigned int* size_allocated) override;
+ virtual void* Alloc(unsigned int size) override;
+ virtual RingBuffer::Offset GetOffset(void* pointer) const override;
+ virtual void FreePendingToken(void* p, unsigned int /* token */) override;
size_t MaxTransferBufferSize() {
return size_ - result_size_;
@@ -506,8 +506,8 @@ class GLES2ImplementationTest : public testing::Test {
GLES2ImplementationTest() : commands_(NULL) {}
- virtual void SetUp() OVERRIDE;
- virtual void TearDown() OVERRIDE;
+ virtual void SetUp() override;
+ virtual void TearDown() override;
bool NoCommandsWritten() {
scoped_refptr<Buffer> ring_buffer = helper_->get_ring_buffer();
@@ -630,12 +630,12 @@ void GLES2ImplementationTest::TearDown() {
class GLES2ImplementationManualInitTest : public GLES2ImplementationTest {
protected:
- virtual void SetUp() OVERRIDE {}
+ virtual void SetUp() override {}
};
class GLES2ImplementationStrictSharedTest : public GLES2ImplementationTest {
protected:
- virtual void SetUp() OVERRIDE;
+ virtual void SetUp() override;
template <class ResApi>
void FlushGenerationTest() {
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation_autogen.h ('k') | gpu/command_buffer/client/gles2_interface_stub_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698