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

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

Issue 1708783002: Mustash: move content::GPUVideoMemoryUsageStats to gpu::VideoMemoryUsageStats (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix re-dep gpu_config => gpu_ipc_common Created 4 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
Index: content/common/gpu/gpu_memory_manager.cc
diff --git a/content/common/gpu/gpu_memory_manager.cc b/content/common/gpu/gpu_memory_manager.cc
index 10f769c134b87f41ed75a19f0450a5de5fc78e14..85aa15f92f9aec7c339ff4c2b5424bdf386feff1 100644
--- a/content/common/gpu/gpu_memory_manager.cc
+++ b/content/common/gpu/gpu_memory_manager.cc
@@ -18,6 +18,7 @@
#include "content/common/gpu/gpu_messages.h"
#include "gpu/command_buffer/common/gpu_memory_allocation.h"
#include "gpu/command_buffer/service/gpu_switches.h"
+#include "gpu/ipc/common/memory_stats.h"
using gpu::MemoryAllocation;
@@ -91,7 +92,7 @@ void GpuMemoryManager::OnDestroyTrackingGroup(
}
void GpuMemoryManager::GetVideoMemoryUsageStats(
- GPUVideoMemoryUsageStats* video_memory_usage_stats) const {
+ gpu::VideoMemoryUsageStats* video_memory_usage_stats) const {
// For each context group, assign its memory usage to its PID
video_memory_usage_stats->process_map.clear();
for (TrackingGroupMap::const_iterator i =

Powered by Google App Engine
This is Rietveld 408576698