Index: cc/output/gl_renderer.cc |
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc |
index 5f443eefa531a48cecaaa34e07acde27de178392..2fdf6f2b51651dd6d53fec6393e90ecd748fa2a9 100644 |
--- a/cc/output/gl_renderer.cc |
+++ b/cc/output/gl_renderer.cc |
@@ -2133,6 +2133,11 @@ void GLRenderer::SwapBuffers(const CompositorFrameMetadata& metadata) { |
} |
output_surface_->SwapBuffers(&compositor_frame); |
+ if (!metadata.overlay_position.IsEmpty()) { |
+ context_support_->SetOverlayPlane( |
+ 1, metadata.overlay_texture_id_, metadata.overlay_position); |
+ } |
+ |
swap_buffer_rect_ = gfx::Rect(); |
// We don't have real fences, so we mark read fences as passed |