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

Unified Diff: gpu/command_buffer/service/async_pixel_transfer_manager_egl.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/service/async_pixel_transfer_manager_egl.cc
diff --git a/gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc b/gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc
index e153617829d57c10ad03b5597dca317f0be7ff3d..1e4066f33145aa1c5cb0cd765fd6642178e32155 100644
--- a/gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc
+++ b/gpu/command_buffer/service/async_pixel_transfer_manager_egl.cc
@@ -97,7 +97,7 @@ class TransferThread : public base::Thread {
Stop();
}
- virtual void Init() OVERRIDE {
+ virtual void Init() override {
gfx::GLShareGroup* share_group = NULL;
surface_ = new gfx::PbufferGLSurfaceEGL(gfx::Size(1, 1));
surface_->Initialize();
@@ -107,7 +107,7 @@ class TransferThread : public base::Thread {
DCHECK(is_current);
}
- virtual void CleanUp() OVERRIDE {
+ virtual void CleanUp() override {
surface_ = NULL;
context_->ReleaseCurrent(surface_.get());
context_ = NULL;
@@ -409,12 +409,12 @@ class AsyncPixelTransferDelegateEGL
virtual void AsyncTexImage2D(
const AsyncTexImage2DParams& tex_params,
const AsyncMemoryParams& mem_params,
- const base::Closure& bind_callback) OVERRIDE;
+ const base::Closure& bind_callback) override;
virtual void AsyncTexSubImage2D(
const AsyncTexSubImage2DParams& tex_params,
- const AsyncMemoryParams& mem_params) OVERRIDE;
- virtual bool TransferIsInProgress() OVERRIDE;
- virtual void WaitForTransferCompletion() OVERRIDE;
+ const AsyncMemoryParams& mem_params) override;
+ virtual bool TransferIsInProgress() override;
+ virtual void WaitForTransferCompletion() override;
private:
// Returns true if a work-around was used.

Powered by Google App Engine
This is Rietveld 408576698