Index: cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc |
diff --git a/cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc b/cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc |
index bb64f2ac81e803374b71c3e1c7c70f8fde32c01b..9d45733fa6d016ae50dce8fd9b6ee6870aa3fd2e 100644 |
--- a/cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc |
+++ b/cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc |
@@ -20,7 +20,7 @@ TEST(LayerTreeHostRecordGpuHistogramTest, SingleThreaded) { |
std::unique_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create( |
&host_client, &task_graph_runner, animation_host.get(), settings, |
CompositorMode::SINGLE_THREADED); |
- host->RecordGpuRasterizationHistogram(); |
+ host->RecordGpuRasterizationHistogram(host->host_impl()); |
EXPECT_FALSE(host->gpu_rasterization_histogram_recorded()); |
} |
@@ -32,7 +32,7 @@ TEST(LayerTreeHostRecordGpuHistogramTest, Threaded) { |
std::unique_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create( |
&host_client, &task_graph_runner, animation_host.get(), settings, |
CompositorMode::THREADED); |
- host->RecordGpuRasterizationHistogram(); |
+ host->RecordGpuRasterizationHistogram(host->host_impl()); |
EXPECT_TRUE(host->gpu_rasterization_histogram_recorded()); |
} |