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

Unified Diff: content/browser/gpu/gpu_process_host.cc

Issue 12475002: Delete memory manager dead code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Resolve against CrOS changes 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
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/common/gpu/gpu_memory_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host.cc
diff --git a/content/browser/gpu/gpu_process_host.cc b/content/browser/gpu/gpu_process_host.cc
index 042fb7d3079304398e52155826aaca27e7cb7a75..cfc9aabba8e28bd185c9a9114e2de7114cd85aac 100644
--- a/content/browser/gpu/gpu_process_host.cc
+++ b/content/browser/gpu/gpu_process_host.cc
@@ -432,13 +432,10 @@ GpuProcessHost::~GpuProcessHost() {
UMA_HISTOGRAM_COUNTS_100("GPU.AtExitSurfaceCount",
GpuSurfaceTracker::Get()->GetSurfaceCount());
-
UMA_HISTOGRAM_BOOLEAN("GPU.AtExitReceivedMemoryStats",
uma_memory_stats_received_);
if (uma_memory_stats_received_) {
- UMA_HISTOGRAM_COUNTS_100("GPU.AtExitWindowCount",
- uma_memory_stats_.window_count);
UMA_HISTOGRAM_COUNTS_100("GPU.AtExitManagedMemoryClientCount",
uma_memory_stats_.client_count);
UMA_HISTOGRAM_COUNTS_100("GPU.AtExitContextGroupCount",
@@ -528,8 +525,7 @@ bool GpuProcessHost::Init() {
if (!Send(new GpuMsg_Initialize()))
return false;
- return Send(new GpuMsg_SetVideoMemoryWindowCount(
- GpuDataManagerImpl::GetInstance()->GetWindowCount()));
+ return true;
}
void GpuProcessHost::RouteOnUIThread(const IPC::Message& message) {
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/common/gpu/gpu_memory_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698