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

Unified Diff: content/common/gpu/gpu_command_buffer_stub.h

Issue 671663002: Standardize usage of virtual/override/final in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « content/common/gpu/gpu_channel_manager.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_command_buffer_stub.h
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index 51b2c1a946cacd0ff3462bee0e448a1b6fcbc2e9..6f69a2a3d86ae4c8502aa4ec2337b262a70ef548 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -80,21 +80,20 @@ class GpuCommandBufferStub
bool software,
const GURL& active_url);
- virtual ~GpuCommandBufferStub();
+ ~GpuCommandBufferStub() override;
// IPC::Listener implementation:
- virtual bool OnMessageReceived(const IPC::Message& message) override;
+ bool OnMessageReceived(const IPC::Message& message) override;
// IPC::Sender implementation:
- virtual bool Send(IPC::Message* msg) override;
+ bool Send(IPC::Message* msg) override;
// GpuMemoryManagerClient implementation:
- virtual gfx::Size GetSurfaceSize() const override;
- virtual gpu::gles2::MemoryTracker* GetMemoryTracker() const override;
- virtual void SetMemoryAllocation(
- const gpu::MemoryAllocation& allocation) override;
- virtual void SuggestHaveFrontBuffer(bool suggest_have_frontbuffer) override;
- virtual bool GetTotalGpuMemory(uint64* bytes) override;
+ gfx::Size GetSurfaceSize() const override;
+ gpu::gles2::MemoryTracker* GetMemoryTracker() const override;
+ void SetMemoryAllocation(const gpu::MemoryAllocation& allocation) override;
+ void SuggestHaveFrontBuffer(bool suggest_have_frontbuffer) override;
+ bool GetTotalGpuMemory(uint64* bytes) override;
// Whether this command buffer can currently handle IPC messages.
bool IsScheduled();
« no previous file with comments | « content/common/gpu/gpu_channel_manager.cc ('k') | content/common/gpu/gpu_command_buffer_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698