Index: content/browser/compositor/mus_browser_compositor_output_surface.cc |
diff --git a/content/browser/compositor/mus_browser_compositor_output_surface.cc b/content/browser/compositor/mus_browser_compositor_output_surface.cc |
index e7421805379a576ea0c3b1c810acf506ec098009..7ef8917f8f16a124343eaef8bc1c6873649c86c0 100644 |
--- a/content/browser/compositor/mus_browser_compositor_output_surface.cc |
+++ b/content/browser/compositor/mus_browser_compositor_output_surface.cc |
@@ -53,6 +53,11 @@ void MusBrowserCompositorOutputSurface::SwapBuffers( |
ui_frame.metadata.device_scale_factor = |
ui::GetScaleFactorForNativeView(window_); |
ui_frame.metadata.latency_info = std::move(frame.latency_info); |
+ // TODO(eseckler): Pass on BeginFrameAck from browser compositor via |frame|. |
+ ui_frame.metadata.begin_frame_ack = |
+ cc::BeginFrameAck(cc::BeginFrameArgs::kManualSourceId, |
+ cc::BeginFrameArgs::kStartingFrameNumber, |
+ cc::BeginFrameArgs::kStartingFrameNumber, 0, true); |
// Reset latency_info to known empty state after moving contents. |
frame.latency_info.clear(); |
const int render_pass_id = 1; |