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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 342483007: Removed ManagedMemoryStats. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 157ecbeeb5ec4695591b26c69766a539a8227394..c254311a9300edb65bc8d9006bb6e5c613c6f6f1 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -297,21 +297,6 @@ bool SingleThreadProxy::ReduceContentsTextureMemoryOnImplThread(
limit_bytes, priority_cutoff, resource_provider);
}
-void SingleThreadProxy::SendManagedMemoryStats() {
- DCHECK(Proxy::IsImplThread());
- if (!layer_tree_host_impl_)
- return;
- PrioritizedResourceManager* contents_texture_manager =
- layer_tree_host_->contents_texture_manager();
- if (!contents_texture_manager)
- return;
-
- layer_tree_host_impl_->SendManagedMemoryStats(
- contents_texture_manager->MemoryVisibleBytes(),
- contents_texture_manager->MemoryVisibleAndNearbyBytes(),
- contents_texture_manager->MemoryUseBytes());
-}
-
bool SingleThreadProxy::IsInsideDraw() { return inside_draw_; }
void SingleThreadProxy::UpdateRendererCapabilitiesOnImplThread() {
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698