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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 178123003: Make it possible to cancel commits following an animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cc_perftests failure. Make unit test limits stricter. Created 6 years, 10 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 | « no previous file | cc/trees/layer_tree_host_perftest.cc » ('j') | cc/trees/layer_tree_host_unittest_animation.cc » ('J')
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 bbcdee4bd6dbea7ca9a88c8de3799be62bda38a6..b44792bb86bc1e3c250fe9fd3b06429e4d93cce7 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -739,7 +739,7 @@ bool LayerTreeHost::UpdateLayers(ResourceUpdateQueue* queue) {
micro_benchmark_controller_.DidUpdateLayers();
- return result;
+ return result || next_commit_forces_redraw_;
}
static Layer* FindFirstScrollableLayer(Layer* layer) {
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_perftest.cc » ('j') | cc/trees/layer_tree_host_unittest_animation.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698