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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 307653005: Update source frame number even when commits abort (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 6 years, 7 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
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index 82a49b5c35a5cf8638ac6eb380b7834cafc31910..022beb834b2797fdeb94592573b6747844187d4d 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -392,8 +392,6 @@ void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) {
}
micro_benchmark_controller_.ScheduleImplBenchmarks(host_impl);
-
- source_frame_number_++;
}
void LayerTreeHost::WillCommit() {
@@ -414,6 +412,7 @@ void LayerTreeHost::UpdateHudLayer() {
}
void LayerTreeHost::CommitComplete() {
+ source_frame_number_++;
enne (OOO) 2014/05/29 19:29:58 This is in line with test assumptions, that when D
client_->DidCommit();
}

Powered by Google App Engine
This is Rietveld 408576698