From c3e3589c3e2dd1bc2e80d708fd49414376b2da8e Mon Sep 17 00:00:00 2001 From: "rsleevi@chromium.org" Date: Tue, 12 Feb 2013 02:08:01 +0000 Subject: Linux/ChromeOS Chromium style checker cleanup, content/ edition. Automated clean up of style checker errors that were missed due to the plugin not being executed on implementation files. BUG=115047 Review URL: https://chromiumcodereview.appspot.com/12210030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181822 0039d316-1c4b-4281-b951-d872f2087c98 --- content/common/gpu/gpu_command_buffer_stub.cc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'content/common/gpu/gpu_command_buffer_stub.cc') diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc index c7a2cc1..de8d196 100644 --- a/content/common/gpu/gpu_command_buffer_stub.cc +++ b/content/common/gpu/gpu_command_buffer_stub.cc @@ -49,19 +49,20 @@ class GpuCommandBufferMemoryTracker : public gpu::gles2::MemoryTracker { CreateTrackingGroup(channel->renderer_pid(), this)) { } - void TrackMemoryAllocatedChange(size_t old_size, - size_t new_size, - gpu::gles2::MemoryTracker::Pool pool) { + virtual void TrackMemoryAllocatedChange( + size_t old_size, + size_t new_size, + gpu::gles2::MemoryTracker::Pool pool) OVERRIDE { tracking_group_->TrackMemoryAllocatedChange( old_size, new_size, pool); } - virtual bool EnsureGPUMemoryAvailable(size_t size_needed) { + virtual bool EnsureGPUMemoryAvailable(size_t size_needed) OVERRIDE { return tracking_group_->EnsureGPUMemoryAvailable(size_needed); }; private: - ~GpuCommandBufferMemoryTracker() { + virtual ~GpuCommandBufferMemoryTracker() { } scoped_ptr tracking_group_; -- cgit v1.1