Index: cc/output/gl_renderer.cc |
diff --git a/cc/output/gl_renderer.cc b/cc/output/gl_renderer.cc |
index e09d004a0114f85342324be1d864034f50410e7b..359ba626b8c1d7824656d186e02a27c12dc24720 100644 |
--- a/cc/output/gl_renderer.cc |
+++ b/cc/output/gl_renderer.cc |
@@ -2130,6 +2130,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 |