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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 2863503002: Do not log Display Compositor latency component twice. (Closed)
Patch Set: Created 3 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 | « content/browser/renderer_host/input/render_widget_host_latency_tracker.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 8631b0cba3ece9b0d71a2ec2b9cbe876ce0593f7..022f7c2f509f69ec14400f34d27455369ff3fb84 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -2570,11 +2570,6 @@ void RenderWidgetHostImpl::SubmitCompositorFrame(
// |has_damage| is not transmitted.
frame.metadata.begin_frame_ack.has_damage = true;
- if (!ui::LatencyInfo::Verify(frame.metadata.latency_info,
- "RenderWidgetHostImpl::OnSwapCompositorFrame")) {
- std::vector<ui::LatencyInfo>().swap(frame.metadata.latency_info);
- }
-
last_frame_metadata_ = frame.metadata.Clone();
latency_tracker_.OnSwapCompositorFrame(&frame.metadata.latency_info);
« no previous file with comments | « content/browser/renderer_host/input/render_widget_host_latency_tracker.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698