summaryrefslogtreecommitdiffstats
path: root/cc/texture_layer_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/texture_layer_unittest.cc')
-rw-r--r--cc/texture_layer_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/texture_layer_unittest.cc b/cc/texture_layer_unittest.cc
index 887f1b4..c58ae90 100644
--- a/cc/texture_layer_unittest.cc
+++ b/cc/texture_layer_unittest.cc
@@ -100,7 +100,7 @@ TEST_F(TextureLayerTest, syncImplWhenDrawing)
scoped_refptr<TextureLayer> testLayer = TextureLayer::create(0);
ASSERT_TRUE(testLayer);
scoped_ptr<TextureLayerImpl> implLayer;
- implLayer = TextureLayerImpl::create(&m_hostImpl, 1);
+ implLayer = TextureLayerImpl::create(m_hostImpl.activeTree(), 1);
ASSERT_TRUE(implLayer);
EXPECT_CALL(*m_layerTreeHost, acquireLayerTextures()).Times(AnyNumber());