Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3863)

Unified Diff: cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc

Issue 2654993004: Move GPU blacklist calculation to GPU proc (Closed)
Patch Set: fix win clang build Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
}
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/layer_tree_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698