summaryrefslogtreecommitdiffstats
path: root/cc/thread_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/thread_proxy.cc')
-rw-r--r--cc/thread_proxy.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc
index f2a6214..cd0baa3 100644
--- a/cc/thread_proxy.cc
+++ b/cc/thread_proxy.cc
@@ -386,12 +386,10 @@ void ThreadProxy::sendManagedMemoryStats()
DCHECK(isImplThread());
if (!m_layerTreeHostImpl.get())
return;
- if (!m_layerTreeHostImpl->renderer())
- return;
if (!m_layerTreeHost->contentsTextureManager())
return;
- m_layerTreeHostImpl->renderer()->sendManagedMemoryStats(
+ m_layerTreeHostImpl->sendManagedMemoryStats(
m_layerTreeHost->contentsTextureManager()->memoryVisibleBytes(),
m_layerTreeHost->contentsTextureManager()->memoryVisibleAndNearbyBytes(),
m_layerTreeHost->contentsTextureManager()->memoryUseBytes());