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 040fece714a6f3920a241b7afcd3caf959929f52..47393f99f2904ac0c2909e62d43d1dab4ec64bb1 100644 |
--- a/cc/trees/layer_tree_host_unittest_scroll.cc |
+++ b/cc/trees/layer_tree_host_unittest_scroll.cc |
@@ -570,6 +570,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. |