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

Unified Diff: content/common/gpu/client/context_provider_command_buffer.cc

Issue 12813004: Chromium style checker cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 9 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
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);
}

Powered by Google App Engine
This is Rietveld 408576698