Index: ui/compositor/compositor.cc |
diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc |
index 4f4037490a2a0135b0170f599f799b76e82be0cb..76ed4379b991526ab8778c844496527b6fc1b28a 100644 |
--- a/ui/compositor/compositor.cc |
+++ b/ui/compositor/compositor.cc |
@@ -341,8 +341,9 @@ void Compositor::Layout() { |
disable_schedule_composite_ = false; |
} |
-scoped_ptr<cc::OutputSurface> Compositor::CreateOutputSurface(bool fallback) { |
- return context_factory_->CreateOutputSurface(this, fallback); |
+void Compositor::RequestNewOutputSurface(bool fallback) { |
+ host_->SetOutputSurface( |
+ context_factory_->CreateOutputSurface(this, fallback)); |
} |
void Compositor::DidCommit() { |