Index: cc/single_thread_proxy.cc |
diff --git a/cc/single_thread_proxy.cc b/cc/single_thread_proxy.cc |
index d0bea46a299c90c78f8213817990544052029681..0ff1ca1f1d0324b07be0a9e22072bfd1d01dd731 100644 |
--- a/cc/single_thread_proxy.cc |
+++ b/cc/single_thread_proxy.cc |
@@ -301,12 +301,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()); |