summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/gpu_command_buffer_stub.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/gpu/gpu_command_buffer_stub.cc')
-rw-r--r--content/common/gpu/gpu_command_buffer_stub.cc11
1 files changed, 6 insertions, 5 deletions
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<GpuMemoryTrackingGroup> tracking_group_;