Index: cc/trees/tree_synchronizer_unittest.cc |
diff --git a/cc/trees/tree_synchronizer_unittest.cc b/cc/trees/tree_synchronizer_unittest.cc |
index 6db91467aed71ae8943a143fe7a071222bac0378..b0e211418d36ebe338682416e155ccc860db0883 100644 |
--- a/cc/trees/tree_synchronizer_unittest.cc |
+++ b/cc/trees/tree_synchronizer_unittest.cc |
@@ -189,9 +189,12 @@ void ExpectTreesAreIdentical(Layer* layer, |
class TreeSynchronizerTest : public testing::Test { |
public: |
- TreeSynchronizerTest() : host_(FakeLayerTreeHost::Create()) {} |
+ TreeSynchronizerTest() |
+ : client_(FakeLayerTreeHostClient::DIRECT_3D), |
+ host_(FakeLayerTreeHost::Create(&client_)) {} |
protected: |
+ FakeLayerTreeHostClient client_; |
scoped_ptr<FakeLayerTreeHost> host_; |
}; |