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 f4cf0915f07beda2f933edf81283214af9446fcf..1d1e7d8465ea743022fccfbfc303ebe0bcfdb8a9 100644 |
--- a/cc/trees/layer_tree_host_unittest_scroll.cc |
+++ b/cc/trees/layer_tree_host_unittest_scroll.cc |
@@ -571,6 +571,11 @@ class ImplSidePaintingScrollTestSimple : public ImplSidePaintingScrollTest { |
return can_activate_; |
} |
+ virtual bool CanActivatePendingTreeIfNeeded(LayerTreeHostImpl* impl) |
+ OVERRIDE { |
+ return can_activate_; |
+ } |
+ |
virtual void CommitCompleteOnThread(LayerTreeHostImpl* impl) OVERRIDE { |
// We force a second draw here of the first commit before activating |
// the second commit. |