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

Unified Diff: gpu/command_buffer/client/gl_in_process_context.cc

Issue 663363002: Standardize usage of virtual/override/final in gpu/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update generator script 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/client/cmd_buffer_helper_test.cc ('k') | gpu/command_buffer/client/gles2_cmd_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gl_in_process_context.cc
diff --git a/gpu/command_buffer/client/gl_in_process_context.cc b/gpu/command_buffer/client/gl_in_process_context.cc
index e8771191b3dd9a729d5aac4951dacb9a7876f2c9..7f24bd64a024da264b48e11aa24e3a61a26f180f 100644
--- a/gpu/command_buffer/client/gl_in_process_context.cc
+++ b/gpu/command_buffer/client/gl_in_process_context.cc
@@ -48,7 +48,7 @@ class GLInProcessContextImpl
public:
explicit GLInProcessContextImpl(
const GLInProcessContextSharedMemoryLimits& mem_limits);
- virtual ~GLInProcessContextImpl();
+ ~GLInProcessContextImpl() override;
bool Initialize(
scoped_refptr<gfx::GLSurface> surface,
@@ -62,9 +62,9 @@ class GLInProcessContextImpl
const scoped_refptr<InProcessCommandBuffer::Service>& service);
// GLInProcessContext implementation:
- virtual void SetContextLostCallback(const base::Closure& callback) override;
- virtual gles2::GLES2Implementation* GetImplementation() override;
- virtual size_t GetMappedMemoryLimit() override;
+ void SetContextLostCallback(const base::Closure& callback) override;
+ gles2::GLES2Implementation* GetImplementation() override;
+ size_t GetMappedMemoryLimit() override;
#if defined(OS_ANDROID)
virtual scoped_refptr<gfx::SurfaceTexture> GetSurfaceTexture(
« no previous file with comments | « gpu/command_buffer/client/cmd_buffer_helper_test.cc ('k') | gpu/command_buffer/client/gles2_cmd_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698