Index: cc/thread_proxy.cc |
diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc |
index bff066bfa221171a3b29da11c1d6cac1796c4d6e..9dd76895a73a2b8cbc0ebd52f0bc7ef11a9ebe9e 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()); |