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

Unified Diff: cc/base/latency_info_swap_promise.cc

Issue 100443006: Remove some LatencyInfo merging code path (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: fix android/mac build Created 6 years, 12 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 | « no previous file | cc/output/compositor_frame_metadata.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/base/latency_info_swap_promise.cc
diff --git a/cc/base/latency_info_swap_promise.cc b/cc/base/latency_info_swap_promise.cc
index 41c0e997d1176fffd55d9d8f62cae478b2b74595..cc2f1c10292e6b935fad034219efcff47a573fcb 100644
--- a/cc/base/latency_info_swap_promise.cc
+++ b/cc/base/latency_info_swap_promise.cc
@@ -34,9 +34,7 @@ LatencyInfoSwapPromise::~LatencyInfoSwapPromise() {
void LatencyInfoSwapPromise::DidSwap(CompositorFrameMetadata* metadata) {
DCHECK(!latency_.terminated);
- // TODO(miletus): Append the |latency_| into metadata's LatencyInfo list
- // once we remove LatencyInfo merge in GPU side.
- metadata->latency_info.MergeWith(latency_);
+ metadata->latency_info.push_back(latency_);
}
void LatencyInfoSwapPromise::DidNotSwap(DidNotSwapReason reason) {
« no previous file with comments | « no previous file | cc/output/compositor_frame_metadata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698