Index: cc/trees/layer_tree_host_unittest_scroll.cc |
diff --git a/cc/trees/layer_tree_host_unittest_scroll.cc b/cc/trees/layer_tree_host_unittest_scroll.cc |
index b23df26210fca2e8af54aad154fba93b508478aa..484cbc0a9cb21bb658a3444e90e4b5ec616b5de8 100644 |
--- a/cc/trees/layer_tree_host_unittest_scroll.cc |
+++ b/cc/trees/layer_tree_host_unittest_scroll.cc |
@@ -1533,17 +1533,17 @@ class LayerTreeHostScrollTestScrollMFBA : public LayerTreeHostScrollTest { |
PostSetNeedsCommitToMainThread(); |
} |
- void StartCommitOnImpl() override { |
+ void ReadyToCommitOnThread(LayerTreeHostImpl* impl) override { |
switch (num_commits_) { |
case 1: |
// Ask for commit here because activation (and draw) will be blocked. |
- GetProxyImplForTest()->SetNeedsCommitOnImpl(); |
+ impl->SetNeedsCommit(); |
// Block activation after second commit until third commit is ready. |
- GetProxyImplForTest()->BlockNotifyReadyToActivateForTesting(true); |
+ impl->BlockNotifyReadyToActivateForTesting(true); |
break; |
case 2: |
// Unblock activation after third commit is ready. |
- GetProxyImplForTest()->BlockNotifyReadyToActivateForTesting(false); |
+ impl->BlockNotifyReadyToActivateForTesting(false); |
break; |
} |
num_commits_++; |