Index: content/browser/compositor/offscreen_browser_compositor_output_surface.cc |
diff --git a/content/browser/compositor/offscreen_browser_compositor_output_surface.cc b/content/browser/compositor/offscreen_browser_compositor_output_surface.cc |
index 8fdff08bfbdc2f41593d49485e166b44bcb59958..a43de0d4d67025c143def01d424609fdbc6e24c1 100644 |
--- a/content/browser/compositor/offscreen_browser_compositor_output_surface.cc |
+++ b/content/browser/compositor/offscreen_browser_compositor_output_surface.cc |
@@ -47,6 +47,13 @@ OffscreenBrowserCompositorOutputSurface:: |
DiscardBackbuffer(); |
} |
+void OffscreenBrowserCompositorOutputSurface::BindToClient( |
+ cc::OutputSurfaceClient* client) { |
+ DCHECK(client); |
+ DCHECK(!client_); |
+ client_ = client; |
+} |
+ |
void OffscreenBrowserCompositorOutputSurface::EnsureBackbuffer() { |
bool update_source_texture = !reflector_texture_ || reflector_changed_; |
reflector_changed_ = false; |