Index: content/renderer/gpu/render_widget_compositor.cc |
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc |
index ae2d0d7902bbfecac808ac935043f0086d918783..9c0f6322a58a0afe64d445b5a6aa7276089d0a76 100644 |
--- a/content/renderer/gpu/render_widget_compositor.cc |
+++ b/content/renderer/gpu/render_widget_compositor.cc |
@@ -796,9 +796,8 @@ void RenderWidgetCompositor::ApplyViewportDeltas( |
top_controls_delta); |
} |
-scoped_ptr<cc::OutputSurface> RenderWidgetCompositor::CreateOutputSurface( |
- bool fallback) { |
- return widget_->CreateOutputSurface(fallback); |
+void RenderWidgetCompositor::RequestNewOutputSurface(bool fallback) { |
+ layer_tree_host_->SetOutputSurface(widget_->CreateOutputSurface(fallback)); |
} |
void RenderWidgetCompositor::DidInitializeOutputSurface() { |