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

Unified Diff: cc/debug/micro_benchmark_controller_unittest.cc

Issue 2270573002: cc: Get rid of LayerTreeHost::output_surface_lost_ state. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@renderer-caps
Patch Set: lth-outputsurface-lost: android-build-and-earlyout-sooner Created 4 years, 4 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 | « blimp/client/app/compositor/browser_compositor.cc ('k') | cc/layers/scrollbar_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/micro_benchmark_controller_unittest.cc
diff --git a/cc/debug/micro_benchmark_controller_unittest.cc b/cc/debug/micro_benchmark_controller_unittest.cc
index 9d9f48ce4d2f80cc2b9e8868358286af02dde2c1..5853118283fd9bc72615d8d004907e60304333d9 100644
--- a/cc/debug/micro_benchmark_controller_unittest.cc
+++ b/cc/debug/micro_benchmark_controller_unittest.cc
@@ -80,7 +80,6 @@ TEST_F(MicroBenchmarkControllerTest, BenchmarkRan) {
base::Bind(&IncrementCallCount, base::Unretained(&run_count)));
EXPECT_GT(id, 0);
- layer_tree_host_->SetOutputSurfaceLostForTesting(false);
layer_tree_host_->UpdateLayers();
EXPECT_EQ(1, run_count);
@@ -99,7 +98,6 @@ TEST_F(MicroBenchmarkControllerTest, MultipleBenchmarkRan) {
base::Bind(&IncrementCallCount, base::Unretained(&run_count)));
EXPECT_GT(id, 0);
- layer_tree_host_->SetOutputSurfaceLostForTesting(false);
layer_tree_host_->UpdateLayers();
EXPECT_EQ(2, run_count);
« no previous file with comments | « blimp/client/app/compositor/browser_compositor.cc ('k') | cc/layers/scrollbar_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698