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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 681713002: Update from chromium https://crrev.com/301315 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 2 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/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 7e17fefee6dfafbb3f9e35bfb696a0dfaae7b7b9..4808117756acd65a3d578450b7f1cbb4f91f3a98 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -728,14 +728,6 @@ void LayerTreeHost::Composite(base::TimeTicks frame_begin_time) {
SingleThreadProxy* proxy = static_cast<SingleThreadProxy*>(proxy_.get());
SetLayerTreeHostClientReady();
- if (output_surface_lost_) {
- proxy->RequestNewOutputSurface();
- // RequestNewOutputSurface could have synchronously created an output
- // surface, so check again before returning.
- if (output_surface_lost_)
- return;
- }
-
proxy->CompositeImmediately(frame_begin_time);
}
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698