| Index: cc/thread_proxy.cc
|
| diff --git a/cc/thread_proxy.cc b/cc/thread_proxy.cc
|
| index b7e0e7c405e9c5518d600b6b875f37ab72fbabca..bb84ac423eaca91d893e6e7298286eb30e2f2756 100644
|
| --- a/cc/thread_proxy.cc
|
| +++ b/cc/thread_proxy.cc
|
| @@ -397,6 +397,12 @@ void ThreadProxy::sendManagedMemoryStats()
|
| if (!m_layerTreeHost->contentsTextureManager())
|
| return;
|
|
|
| + // If we are using impl-side painting, then sendManagedMemoryStats is called
|
| + // directly after the tile manager's manage function, and doesn't need to
|
| + // interact with main thread's layer tree.
|
| + if (m_layerTreeHost->settings().implSidePainting)
|
| + return;
|
| +
|
| m_layerTreeHostImpl->sendManagedMemoryStats(
|
| m_layerTreeHost->contentsTextureManager()->memoryVisibleBytes(),
|
| m_layerTreeHost->contentsTextureManager()->memoryVisibleAndNearbyBytes(),
|
|
|