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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 2158973002: cc: Clean up LayerTreeTest and TestHooks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: proxy-impls: test Created 4 years, 5 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/remote_channel_unittest.cc ('k') | cc/trees/task_runner_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index 0e1dee6e959e7f3ddb2abe40f8cab4eb71485506..5b0fb57027e476c8eb01c62f718c3d1a2a639ce2 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -236,6 +236,7 @@ void SingleThreadProxy::DoCommit() {
commit_blocking_task_runner_.reset(new BlockingTaskRunner::CapturePostTasks(
task_runner_provider_->blocking_main_thread_task_runner()));
+ layer_tree_host_impl_->ReadyToCommit();
layer_tree_host_impl_->BeginCommit();
// TODO(robliao): Remove ScopedTracker below once https://crbug.com/461509
« no previous file with comments | « cc/trees/remote_channel_unittest.cc ('k') | cc/trees/task_runner_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698