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

Unified Diff: cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc

Issue 1513643010: cc:: Add remote mode to the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed vmpstr's comments. Created 4 years, 11 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_proxy.cc ('k') | cc/trees/layer_tree_host_unittest_scroll.cc » ('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 765ea63aa0fa2d4c8a041bc1ea555847f4693165..524013048361244ad2be91fcb57bafc325ea6f3e 100644
--- a/cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc
+++ b/cc/trees/layer_tree_host_unittest_record_gpu_histogram.cc
@@ -17,7 +17,7 @@ TEST(LayerTreeHostRecordGpuHistogramTest, SingleThreaded) {
LayerTreeSettings settings;
scoped_ptr<FakeLayerTreeHost> host =
FakeLayerTreeHost::Create(&host_client, &task_graph_runner, settings,
- CompositorMode::SingleThreaded);
+ CompositorMode::SINGLE_THREADED);
host->RecordGpuRasterizationHistogram();
EXPECT_FALSE(host->gpu_rasterization_histogram_recorded());
}
@@ -27,7 +27,7 @@ TEST(LayerTreeHostRecordGpuHistogramTest, Threaded) {
TestTaskGraphRunner task_graph_runner;
LayerTreeSettings settings;
scoped_ptr<FakeLayerTreeHost> host = FakeLayerTreeHost::Create(
- &host_client, &task_graph_runner, settings, CompositorMode::Threaded);
+ &host_client, &task_graph_runner, settings, CompositorMode::THREADED);
host->RecordGpuRasterizationHistogram();
EXPECT_TRUE(host->gpu_rasterization_histogram_recorded());
}
« no previous file with comments | « cc/trees/layer_tree_host_unittest_proxy.cc ('k') | cc/trees/layer_tree_host_unittest_scroll.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698