diff options
Diffstat (limited to 'content/browser/compositor/browser_compositor_output_surface.cc')
-rw-r--r-- | content/browser/compositor/browser_compositor_output_surface.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/content/browser/compositor/browser_compositor_output_surface.cc b/content/browser/compositor/browser_compositor_output_surface.cc index 0e014c9..bdf3a1b 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(); } |