| Index: cc/trees/layer_tree_host_unittest.cc
|
| diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
|
| index a1d5be218c423ee9344101c6a1974b2f23d61284..9c04c7eab53a6e55c71ba66b68960e6dfc7c4782 100644
|
| --- a/cc/trees/layer_tree_host_unittest.cc
|
| +++ b/cc/trees/layer_tree_host_unittest.cc
|
| @@ -375,7 +375,7 @@ class LayerTreeHostTestReadyToDrawVisibility : public LayerTreeHostTest {
|
| void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) override {
|
| if (!toggled_visibility_) {
|
| {
|
| - DebugScopedSetMainThread main(proxy());
|
| + DebugScopedSetMainThread main(task_runner_provider());
|
| layer_tree_host()->SetVisible(false);
|
| }
|
| toggled_visibility_ = true;
|
| @@ -399,7 +399,7 @@ class LayerTreeHostTestReadyToDrawVisibility : public LayerTreeHostTest {
|
| void DidFinishImplFrameOnThread(LayerTreeHostImpl* host_impl) override {
|
| if (!host_impl->visible()) {
|
| {
|
| - DebugScopedSetMainThread main(proxy());
|
| + DebugScopedSetMainThread main(task_runner_provider());
|
| layer_tree_host()->SetVisible(true);
|
| }
|
| EXPECT_TRUE(host_impl->visible());
|
|
|