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 441346dcd6c2030ec8ff131f69616f3f93dcfe99..bb315e79d02c152d57cb9ecb4dc8d343eee4acd1 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -142,7 +142,9 @@ class LayerTreeHostTestReadyToActivateNonEmpty |
FakeContentLayerClient client_; |
}; |
-SINGLE_AND_MULTI_THREAD_IMPL_TEST_F(LayerTreeHostTestReadyToActivateNonEmpty); |
+// Multi-thread only because in single thread the commit goes directly to the |
+// active tree, so notify ready to activate is skipped. |
+MULTI_THREAD_IMPL_TEST_F(LayerTreeHostTestReadyToActivateNonEmpty); |
// Test if the LTHI receives ReadyToDraw notifications from the TileManager when |
// no raster tasks get scheduled. |
@@ -5199,7 +5201,7 @@ class LayerTreeHostTestGpuRasterizationForced : public LayerTreeHostTest { |
} |
void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) override { |
- EXPECT_TRUE(host_impl->pending_tree()->use_gpu_rasterization()); |
+ EXPECT_TRUE(host_impl->sync_tree()->use_gpu_rasterization()); |
EXPECT_TRUE(host_impl->use_gpu_rasterization()); |
} |