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 be5967c3c925c3df4287b6a76b06f2146985a556..7add406971f35e80520b95d67541003b3e26ca51 100644 |
--- a/cc/trees/layer_tree_host_unittest.cc |
+++ b/cc/trees/layer_tree_host_unittest.cc |
@@ -4719,7 +4719,7 @@ class LayerTreeHostTestHighResRequiredAfterEvictingUIResources |
// mode. Active tree should require high-res to draw after entering this |
// mode to ensure that high-res tiles are also required for a pending tree |
// to be activated. |
- EXPECT_TRUE(host_impl->active_tree()->RequiresHighResToDraw()); |
+ EXPECT_TRUE(host_impl->RequiresHighResToDraw()); |
} |
virtual void DidCommit() override { |
@@ -5052,7 +5052,7 @@ class LayerTreeHostTestActivateOnInvisible : public LayerTreeHostTest { |
if (!visible) { |
PostSetVisibleToMainThread(true); |
} else { |
- EXPECT_TRUE(host_impl->active_tree()->RequiresHighResToDraw()); |
+ EXPECT_TRUE(host_impl->RequiresHighResToDraw()); |
EndTest(); |
} |
} |