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

Unified Diff: trunk/src/cc/trees/layer_tree_host.cc

Issue 441343002: Revert 287747 "Make SingleThreadProxy a SchedulerClient" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | « trunk/src/cc/test/layer_tree_test.cc ('k') | trunk/src/cc/trees/layer_tree_host_single_thread_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/cc/trees/layer_tree_host.cc
===================================================================
--- trunk/src/cc/trees/layer_tree_host.cc (revision 287765)
+++ trunk/src/cc/trees/layer_tree_host.cc (working copy)
@@ -697,12 +697,8 @@
void LayerTreeHost::Composite(base::TimeTicks frame_begin_time) {
DCHECK(!proxy_->HasImplThread());
- // This function is only valid when not using the scheduler.
- DCHECK(!settings_.single_thread_proxy_scheduler);
SingleThreadProxy* proxy = static_cast<SingleThreadProxy*>(proxy_.get());
- SetLayerTreeHostClientReady();
-
if (output_surface_lost_)
proxy->CreateAndInitializeOutputSurface();
if (output_surface_lost_)
« no previous file with comments | « trunk/src/cc/test/layer_tree_test.cc ('k') | trunk/src/cc/trees/layer_tree_host_single_thread_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698