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

Unified Diff: gpu/command_buffer/tests/gl_manager.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/tests/gl_manager.h ('k') | gpu/command_buffer/tests/gl_unittests_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/tests/gl_manager.cc
diff --git a/gpu/command_buffer/tests/gl_manager.cc b/gpu/command_buffer/tests/gl_manager.cc
index bebf74ca2564e78175b50fdbcbab5d54797c3f29..2a837eb42c4f3f07ff7a953464bbae27b1f87091 100644
--- a/gpu/command_buffer/tests/gl_manager.cc
+++ b/gpu/command_buffer/tests/gl_manager.cc
@@ -56,16 +56,16 @@ class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
mapped_(false) {}
// Overridden from gfx::GpuMemoryBuffer:
- virtual void* Map() OVERRIDE {
+ virtual void* Map() override {
mapped_ = true;
return &bytes_->data().front();
}
- virtual void Unmap() OVERRIDE { mapped_ = false; }
- virtual bool IsMapped() const OVERRIDE { return mapped_; }
- virtual uint32 GetStride() const OVERRIDE {
+ virtual void Unmap() override { mapped_ = false; }
+ virtual bool IsMapped() const override { return mapped_; }
+ virtual uint32 GetStride() const override {
return size_.width() * BytesPerPixel(internalformat_);
}
- virtual gfx::GpuMemoryBufferHandle GetHandle() const OVERRIDE {
+ virtual gfx::GpuMemoryBufferHandle GetHandle() const override {
NOTREACHED();
return gfx::GpuMemoryBufferHandle();
}
« no previous file with comments | « gpu/command_buffer/tests/gl_manager.h ('k') | gpu/command_buffer/tests/gl_unittests_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698