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

Unified Diff: cc/layers/layer.cc

Issue 924973003: CC: Force push properties for all layers when tracing is started (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Introduce Layer::DidBeginTracing(), call SetNeedsPushProperties() from there Created 5 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
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index bf2f26a4c4b5d06c36ceb10766a86219a2dccee0..c189951ed186281ffc670129d6abb67f6099c9e3 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -1349,4 +1349,8 @@ void Layer::SetFrameTimingRequests(
SetNeedsCommit();
}
+void Layer::DidBeginTracing() {
+ SetNeedsPushProperties();
danakj 2015/03/06 18:50:12 Can you leave a comment explaining why we do SNPP(
+}
+
} // namespace cc
« no previous file with comments | « cc/layers/layer.h ('k') | cc/trees/layer_tree_host.cc » ('j') | cc/trees/layer_tree_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698