Index: content/browser/compositor/browser_compositor_output_surface.cc |
diff --git a/content/browser/compositor/browser_compositor_output_surface.cc b/content/browser/compositor/browser_compositor_output_surface.cc |
index 0e014c94a68524df657cf89dab59780b31d6d608..bdf3a1b2de663e92df420fc974df80aec34cbde5 100644 |
--- a/content/browser/compositor/browser_compositor_output_surface.cc |
+++ b/content/browser/compositor/browser_compositor_output_surface.cc |
@@ -17,14 +17,16 @@ namespace content { |
BrowserCompositorOutputSurface::BrowserCompositorOutputSurface( |
const scoped_refptr<cc::ContextProvider>& context_provider, |
+ const scoped_refptr<cc::ContextProvider>& worker_context_provider, |
const scoped_refptr<ui::CompositorVSyncManager>& vsync_manager, |
scoped_ptr<BrowserCompositorOverlayCandidateValidator> |
overlay_candidate_validator) |
- : OutputSurface(context_provider), |
+ : OutputSurface(context_provider, worker_context_provider), |
vsync_manager_(vsync_manager), |
reflector_(nullptr), |
- use_begin_frame_scheduling_(base::CommandLine::ForCurrentProcess()-> |
- HasSwitch(cc::switches::kEnableBeginFrameScheduling)) { |
+ use_begin_frame_scheduling_( |
+ base::CommandLine::ForCurrentProcess() |
+ ->HasSwitch(cc::switches::kEnableBeginFrameScheduling)) { |
overlay_candidate_validator_ = overlay_candidate_validator.Pass(); |
Initialize(); |
} |