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..404258613cb1c1aac5aa0f1eb62da322faf26950 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 BeginMainFrameCompletedOnThread(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_++; |