Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(315)

Unified Diff: content/browser/compositor/gpu_process_transport_factory.cc

Issue 2365583004: Mac: Clean up plumbing of accelerated widgets (Closed)
Patch Set: make_scoped_refptr Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/compositor/gpu_output_surface_mac.mm ('k') | gpu/ipc/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/gpu_process_transport_factory.cc
diff --git a/content/browser/compositor/gpu_process_transport_factory.cc b/content/browser/compositor/gpu_process_transport_factory.cc
index 8ce5788af578513d803fc46c76f47c3c5e076542..a5f7f98c961dfbca4ff739b3a0c36633d2c56e90 100644
--- a/content/browser/compositor/gpu_process_transport_factory.cc
+++ b/content/browser/compositor/gpu_process_transport_factory.cc
@@ -482,8 +482,8 @@ void GpuProcessTransportFactory::EstablishedGpuChannel(
} else if (capabilities.surfaceless) {
#if defined(OS_MACOSX)
display_output_surface = base::MakeUnique<GpuOutputSurfaceMac>(
- context_provider, data->surface_handle, compositor->vsync_manager(),
- begin_frame_source.get(),
+ compositor->widget(), context_provider, data->surface_handle,
+ compositor->vsync_manager(), begin_frame_source.get(),
CreateOverlayCandidateValidator(compositor->widget()),
GetGpuMemoryBufferManager());
#else
« no previous file with comments | « content/browser/compositor/gpu_output_surface_mac.mm ('k') | gpu/ipc/client/command_buffer_proxy_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698