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

Unified Diff: cc/test/layer_tree_test.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 | « cc/test/fake_layer_tree_host.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_test.cc
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc
index 19c968941d50c3dcfba19798b16f70541070a97f..6bd79e5615247fe68e7d235710cbe98ad870e630 100644
--- a/cc/test/layer_tree_test.cc
+++ b/cc/test/layer_tree_test.cc
@@ -391,10 +391,6 @@ class LayerTreeHostForTesting : public LayerTreeHost {
proxy = ProxyMain::CreateRemote(remote_proto_channel,
layer_tree_host.get(),
task_runner_provider.get());
-
- // The LayerTreeHost on the server will never have an output surface.
- // Set output_surface_lost_ to false by default.
- layer_tree_host->SetOutputSurfaceLostForTesting(false);
}
break;
}
« no previous file with comments | « cc/test/fake_layer_tree_host.h ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698