Index: cc/trees/layer_tree_host_unittest.cc |
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc |
index fe10a47a6de6a3ba88a20eeae0dfe2e0c3ba2342..95b717126f40ee099ce6c9e9a362cae7a5d3967a 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -4886,7 +4886,7 @@ class LayerTreeHostTestActivateOnInvisible : public LayerTreeHostTest { |
// Once invisible, we can go visible again. |
if (!visible) { |
PostSetVisibleToMainThread(true); |
- } else { |
+ } else if (activation_count_) { |
EXPECT_TRUE(host_impl->RequiresHighResToDraw()); |
EndTest(); |
} |