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

Unified Diff: cc/trees/layer_tree_impl.cc

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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/layer_tree_impl.h ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_impl.cc
diff --git a/cc/trees/layer_tree_impl.cc b/cc/trees/layer_tree_impl.cc
index f3188f6c8df9534b71d0a20488362734dbf43df1..e41da4b42d2ff4c642daddb280da95b26ebfb46d 100644
--- a/cc/trees/layer_tree_impl.cc
+++ b/cc/trees/layer_tree_impl.cc
@@ -119,22 +119,6 @@ void LayerTreeImpl::RecreateResources() {
}
}
-void LayerTreeImpl::GatherFrameTimingRequestIds(
- std::vector<int64_t>* request_ids) {
- if (!root_layer_)
- return;
-
- // TODO(vmpstr): Early out if there are no requests on any of the layers. For
- // that, we need to inform LayerTreeImpl whenever there are requests when we
- // get them.
- LayerTreeHostCommon::CallFunctionForEveryLayer(
- this,
- [request_ids](LayerImpl* layer) {
- layer->GatherFrameTimingRequestIds(request_ids);
- },
- CallFunctionLayerType::ALL_LAYERS);
-}
-
bool LayerTreeImpl::IsViewportLayerId(int id) const {
if (id == inner_viewport_scroll_layer_id_ ||
id == outer_viewport_scroll_layer_id_)
« no previous file with comments | « cc/trees/layer_tree_impl.h ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698