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

Unified Diff: content/common/gpu/gpu_memory_buffer_factory_mac.cc

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_command_buffer_stub.cc ('k') | content/common/gpu/gpu_memory_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_memory_buffer_factory_mac.cc
diff --git a/content/common/gpu/gpu_memory_buffer_factory_mac.cc b/content/common/gpu/gpu_memory_buffer_factory_mac.cc
index 6d35fe6eb3494b2aa9ba98b3df72d9ff6fe7fa33..3494cd72a64cfd02cd573478ec845afb156859f8 100644
--- a/content/common/gpu/gpu_memory_buffer_factory_mac.cc
+++ b/content/common/gpu/gpu_memory_buffer_factory_mac.cc
@@ -15,7 +15,7 @@ namespace {
class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory {
public:
// Overridden from GpuMemoryBufferFactory:
- virtual gfx::GpuMemoryBufferHandle CreateGpuMemoryBuffer(
+ gfx::GpuMemoryBufferHandle CreateGpuMemoryBuffer(
const gfx::GpuMemoryBufferHandle& handle,
const gfx::Size& size,
gfx::GpuMemoryBuffer::Format format,
@@ -29,7 +29,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory {
return gfx::GpuMemoryBufferHandle();
}
}
- virtual void DestroyGpuMemoryBuffer(
+ void DestroyGpuMemoryBuffer(
const gfx::GpuMemoryBufferHandle& handle) override {
switch (handle.type) {
case gfx::IO_SURFACE_BUFFER:
@@ -40,7 +40,7 @@ class GpuMemoryBufferFactoryImpl : public GpuMemoryBufferFactory {
break;
}
}
- virtual scoped_refptr<gfx::GLImage> CreateImageForGpuMemoryBuffer(
+ scoped_refptr<gfx::GLImage> CreateImageForGpuMemoryBuffer(
const gfx::GpuMemoryBufferHandle& handle,
const gfx::Size& size,
gfx::GpuMemoryBuffer::Format format,
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/common/gpu/gpu_memory_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698