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

Unified Diff: cc/trees/layer_tree.h

Issue 2484743002: UMA metric for LayerUpdateTimes (Closed)
Patch Set: Address feedback Created 4 years 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.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree.h
diff --git a/cc/trees/layer_tree.h b/cc/trees/layer_tree.h
index e58e71cb1f48f15d784d9d290a5c8c88ecefdee4..09ecc0c746be34667d5a4f4c2084a440008c9ac2 100644
--- a/cc/trees/layer_tree.h
+++ b/cc/trees/layer_tree.h
@@ -145,6 +145,8 @@ class CC_EXPORT LayerTree : public MutatorHostClient {
void UnregisterLayer(Layer* layer);
Layer* LayerById(int id) const;
+ size_t NumLayers() const;
+
bool UpdateLayers(const LayerList& update_layer_list,
bool* content_is_suitable_for_gpu);
bool in_paint_layer_contents() const { return in_paint_layer_contents_; }
« no previous file with comments | « no previous file | cc/trees/layer_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698