summaryrefslogtreecommitdiffstats
path: root/cc/quad_culler_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/quad_culler_unittest.cc')
-rw-r--r--cc/quad_culler_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/quad_culler_unittest.cc b/cc/quad_culler_unittest.cc
index d17c331..1dd64d8 100644
--- a/cc/quad_culler_unittest.cc
+++ b/cc/quad_culler_unittest.cc
@@ -48,7 +48,7 @@ public:
scoped_ptr<TiledLayerImpl> makeLayer(TiledLayerImpl* parent, const gfx::Transform& drawTransform, const gfx::Rect& layerRect, float opacity, bool opaque, const gfx::Rect& layerOpaqueRect, std::vector<LayerImpl*>& surfaceLayerList)
{
- scoped_ptr<TiledLayerImpl> layer = TiledLayerImpl::create(&m_hostImpl, 1);
+ scoped_ptr<TiledLayerImpl> layer = TiledLayerImpl::create(m_hostImpl.activeTree(), 1);
scoped_ptr<LayerTilingData> tiler = LayerTilingData::create(gfx::Size(100, 100), LayerTilingData::NoBorderTexels);
tiler->setBounds(layerRect.size());
layer->setTilingData(*tiler);