Index: cc/layer_tree_host_impl_unittest.cc |
diff --git a/cc/layer_tree_host_impl_unittest.cc b/cc/layer_tree_host_impl_unittest.cc |
index 459ab4bb6bc920a7f7d92ad0e05298c5e432ad16..32f0b487408d9d8f2f1892fce14b813663fb37fe 100644 |
--- a/cc/layer_tree_host_impl_unittest.cc |
+++ b/cc/layer_tree_host_impl_unittest.cc |
@@ -283,7 +283,7 @@ TEST_P(LayerTreeHostImplTest, notifyIfCanDrawChanged) |
EXPECT_TRUE(m_onCanDrawStateChangedCalled); |
m_onCanDrawStateChangedCalled = false; |
- m_hostImpl->resetContentsTexturesPurged(); |
+ m_hostImpl->activeTree()->ResetContentsTexturesPurged(); |
EXPECT_TRUE(m_hostImpl->canDraw()); |
EXPECT_TRUE(m_onCanDrawStateChangedCalled); |
m_onCanDrawStateChangedCalled = false; |