summaryrefslogtreecommitdiffstats
path: root/cc/single_thread_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/single_thread_proxy.cc')
-rw-r--r--cc/single_thread_proxy.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/cc/single_thread_proxy.cc b/cc/single_thread_proxy.cc
index d3787bc..911f90d 100644
--- a/cc/single_thread_proxy.cc
+++ b/cc/single_thread_proxy.cc
@@ -297,12 +297,10 @@ void SingleThreadProxy::sendManagedMemoryStats()
DCHECK(Proxy::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());