Index: cc/layers/layer_utils_unittest.cc |
diff --git a/cc/layers/layer_utils_unittest.cc b/cc/layers/layer_utils_unittest.cc |
index 1eb1986eacebca5e2c4e193a9e12a918c9c7abaf..5764bc6707defdc8b261383adb3694dee8ca3051 100644 |
--- a/cc/layers/layer_utils_unittest.cc |
+++ b/cc/layers/layer_utils_unittest.cc |
@@ -25,7 +25,7 @@ class LayerUtilsGetAnimationBoundsTest : public testing::Test { |
public: |
LayerUtilsGetAnimationBoundsTest() |
: host_impl_(&proxy_, &shared_bitmap_manager_), |
- root_(CreateThreeNodeTree(host_impl_)), |
+ root_(CreateThreeNodeTree(&host_impl_)), |
parent_(root_->children()[0]), |
child_(parent_->children()[0]) {} |
@@ -35,11 +35,11 @@ class LayerUtilsGetAnimationBoundsTest : public testing::Test { |
private: |
static scoped_ptr<LayerImpl> CreateThreeNodeTree( |
- LayerTreeHostImpl& host_impl) { |
- scoped_ptr<LayerImpl> root = LayerImpl::Create(host_impl.active_tree(), 1); |
- root->AddChild(LayerImpl::Create(host_impl.active_tree(), 2)); |
- root->children()[0] |
- ->AddChild(LayerImpl::Create(host_impl.active_tree(), 3)); |
+ LayerTreeHostImpl* host_impl) { |
+ scoped_ptr<LayerImpl> root = LayerImpl::Create(host_impl->active_tree(), 1); |
+ root->AddChild(LayerImpl::Create(host_impl->active_tree(), 2)); |
+ root->children()[0]->AddChild( |
+ LayerImpl::Create(host_impl->active_tree(), 3)); |
return root.Pass(); |
} |