| Index: content/common/gpu/gpu_memory_tracking.h
|
| diff --git a/content/common/gpu/gpu_memory_tracking.h b/content/common/gpu/gpu_memory_tracking.h
|
| index 79bea78f5c3c307a208aa86d156b49fe14c035c6..d5f415937b8b3e0e1905eb020658e0006f04f64e 100644
|
| --- a/content/common/gpu/gpu_memory_tracking.h
|
| +++ b/content/common/gpu/gpu_memory_tracking.h
|
| @@ -29,7 +29,10 @@ class GpuMemoryTrackingGroup {
|
| ~GpuMemoryTrackingGroup() {
|
| memory_manager_->RemoveTrackingGroup(this);
|
| }
|
| - void TrackMemoryAllocatedChange(size_t old_size, size_t new_size) {
|
| + void TrackMemoryAllocatedChange(
|
| + size_t old_size,
|
| + size_t new_size,
|
| + gpu::gles2::MemoryTracker::Pool tracking_pool) {
|
| if (old_size < new_size) {
|
| size_t delta = new_size - old_size;
|
| size_ += delta;
|
| @@ -39,7 +42,8 @@ class GpuMemoryTrackingGroup {
|
| DCHECK(size_ >= delta);
|
| size_ -= delta;
|
| }
|
| - memory_manager_->TrackMemoryAllocatedChange(old_size, new_size);
|
| + memory_manager_->TrackMemoryAllocatedChange(
|
| + old_size, new_size, tracking_pool);
|
| }
|
| base::ProcessId GetPid() const {
|
| return pid_;
|
|
|