Index: content/common/gpu/client/context_provider_command_buffer.cc |
diff --git a/content/common/gpu/client/context_provider_command_buffer.cc b/content/common/gpu/client/context_provider_command_buffer.cc |
index 2796007dd378d55576e9ad093925f8217e23cf53..a291c313da79d830d1b8903a7b29dbd705ab6240 100644 |
--- a/content/common/gpu/client/context_provider_command_buffer.cc |
+++ b/content/common/gpu/client/context_provider_command_buffer.cc |
@@ -33,7 +33,8 @@ class ContextProviderCommandBuffer::MemoryAllocationCallbackProxy |
provider_->context3d_->setMemoryAllocationChangedCallbackCHROMIUM(this); |
} |
- void onMemoryAllocationChanged(WebKit::WebGraphicsMemoryAllocation alloc) { |
+ virtual void onMemoryAllocationChanged( |
+ WebKit::WebGraphicsMemoryAllocation alloc) { |
provider_->OnMemoryAllocationChanged(!!alloc.gpuResourceSizeInBytes); |
} |