| Index: cc/trees/tree_synchronizer_unittest.cc
|
| diff --git a/cc/trees/tree_synchronizer_unittest.cc b/cc/trees/tree_synchronizer_unittest.cc
|
| index 81bfec180781f79763624d58a8596458b34f2c3a..e2d07696b7ae0451b831c6755af1504a6e1876a1 100644
|
| --- a/cc/trees/tree_synchronizer_unittest.cc
|
| +++ b/cc/trees/tree_synchronizer_unittest.cc
|
| @@ -142,15 +142,9 @@ void ExpectTreesAreIdentical(Layer* root_layer,
|
| }
|
|
|
| class TreeSynchronizerTest : public testing::Test {
|
| - public:
|
| - TreeSynchronizerTest()
|
| - : client_(FakeLayerTreeHostClient::DIRECT_3D),
|
| - host_(FakeLayerTreeHost::Create(&client_, &task_graph_runner_)) {}
|
| -
|
| protected:
|
| - FakeLayerTreeHostClient client_;
|
| - TestTaskGraphRunner task_graph_runner_;
|
| - std::unique_ptr<FakeLayerTreeHost> host_;
|
| + TreeSynchronizerTest()
|
| + : host_(FakeLayerTreeHost::Create(&client_, &task_graph_runner_)) {}
|
|
|
| bool is_equal(ScrollTree::ScrollOffsetMap map,
|
| ScrollTree::ScrollOffsetMap other) {
|
| @@ -169,6 +163,10 @@ class TreeSynchronizerTest : public testing::Test {
|
| }
|
| return true;
|
| }
|
| +
|
| + FakeLayerTreeHostClient client_;
|
| + TestTaskGraphRunner task_graph_runner_;
|
| + std::unique_ptr<FakeLayerTreeHost> host_;
|
| };
|
|
|
| // Attempts to synchronizes a null tree. This should not crash, and should
|
|
|