Index: cc/layers/ui_resource_layer_unittest.cc |
diff --git a/cc/layers/ui_resource_layer_unittest.cc b/cc/layers/ui_resource_layer_unittest.cc |
index f6a460e018b54beeec0940a013566a1851ce04d6..784ff3586c8a0baf5d0dd21f20112adab02abb60 100644 |
--- a/cc/layers/ui_resource_layer_unittest.cc |
+++ b/cc/layers/ui_resource_layer_unittest.cc |
@@ -34,7 +34,7 @@ class UIResourceLayerTest : public testing::Test { |
protected: |
virtual void SetUp() { |
- layer_tree_host_ = FakeLayerTreeHost::Create(); |
+ layer_tree_host_ = FakeLayerTreeHost::Create(&fake_client_); |
layer_tree_host_->InitializeSingleThreaded( |
&fake_client_, base::MessageLoopProxy::current()); |
} |
@@ -43,8 +43,8 @@ class UIResourceLayerTest : public testing::Test { |
Mock::VerifyAndClearExpectations(layer_tree_host_.get()); |
} |
- scoped_ptr<FakeLayerTreeHost> layer_tree_host_; |
FakeLayerTreeHostClient fake_client_; |
+ scoped_ptr<FakeLayerTreeHost> layer_tree_host_; |
}; |
TEST_F(UIResourceLayerTest, SetBitmap) { |