summaryrefslogtreecommitdiffstats
path: root/cc/surfaces/surface_aggregator.cc
diff options
context:
space:
mode:
authorscottmg <scottmg@chromium.org>2014-09-02 14:55:06 -0700
committerCommit bot <commit-bot@chromium.org>2014-09-02 21:59:20 +0000
commitbefeae62039572a93bd3e4ed981f45ad6f645321 (patch)
treef7fe66015591433071dcebcbeac325c28b5fd40c /cc/surfaces/surface_aggregator.cc
parent212a1299355dc97c4e45b6997b4901a1cd10f286 (diff)
downloadchromium_src-befeae62039572a93bd3e4ed981f45ad6f645321.zip
chromium_src-befeae62039572a93bd3e4ed981f45ad6f645321.tar.gz
chromium_src-befeae62039572a93bd3e4ed981f45ad6f645321.tar.bz2
Revert of Add LatencyInfo support for Surfaces. (patchset #3 id:40001 of https://codereview.chromium.org/511423004/)
Reason for revert: Failed compile here: http://build.chromium.org/p/chromium.memory/builders/Linux%20ASan%20LSan%20Builder/builds/12959/steps/compile/logs/stdio Original issue's description: > Add LatencyInfo support for Surfaces. > > BUG= > > Committed: https://chromium.googlesource.com/chromium/src/+/30ea8cb30b9e0d6fcd037bc434b29bac41196e5e TBR=jamesr@chromium.org,jbauman@chromium.org NOTREECHECKS=true NOTRY=true BUG= Review URL: https://codereview.chromium.org/533913003 Cr-Commit-Position: refs/heads/master@{#293003}
Diffstat (limited to 'cc/surfaces/surface_aggregator.cc')
-rw-r--r--cc/surfaces/surface_aggregator.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/cc/surfaces/surface_aggregator.cc b/cc/surfaces/surface_aggregator.cc
index d9ec296..5ddd832 100644
--- a/cc/surfaces/surface_aggregator.cc
+++ b/cc/surfaces/surface_aggregator.cc
@@ -346,14 +346,6 @@ scoped_ptr<CompositorFrame> SurfaceAggregator::Aggregate(SurfaceId surface_id) {
contained_surfaces_.swap(previous_contained_surfaces_);
contained_surfaces_.clear();
- for (SurfaceIndexMap::iterator it = previous_contained_surfaces_.begin();
- it != previous_contained_surfaces_.end();
- ++it) {
- Surface* surface = manager_->GetSurfaceForId(it->first);
- if (surface)
- surface->TakeLatencyInfo(&frame->metadata.latency_info);
- }
-
// TODO(jamesr): Aggregate all resource references into the returned frame's
// resource list.