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

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

Issue 12210030: Linux/ChromeOS Chromium style checker cleanup, content/ edition. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 10 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_channel.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_command_buffer_stub.cc
===================================================================
--- content/common/gpu/gpu_command_buffer_stub.cc (revision 181789)
+++ content/common/gpu/gpu_command_buffer_stub.cc (working copy)
@@ -49,19 +49,20 @@
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_;
« no previous file with comments | « content/common/gpu/gpu_channel.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