Index: cc/trees/layer_tree_host_unittest_animation.cc |
diff --git a/cc/trees/layer_tree_host_unittest_animation.cc b/cc/trees/layer_tree_host_unittest_animation.cc |
index 703ad75bb7fa85dd1d9619ee31591af2193ffa47..dbc427504d846299a8e807775e72974eb38f396f 100644 |
--- a/cc/trees/layer_tree_host_unittest_animation.cc |
+++ b/cc/trees/layer_tree_host_unittest_animation.cc |
@@ -270,6 +270,8 @@ class LayerTreeHostAnimationTestTickAnimationWhileBackgrounded |
virtual void WillAnimateLayers( |
LayerTreeHostImpl* host_impl, |
base::TimeTicks monotonic_time) OVERRIDE { |
+ // Verify that the host can draw, it's just not visible. |
+ EXPECT_TRUE(host_impl->CanDraw()); |
if (num_animates_ < 2) { |
if (!num_animates_) { |
// We have a long animation running. It should continue to tick even |