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

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

Issue 2511273002: Decouple BrowserCompositorOutputSurface from BeginFrameSource. (Closed)
Patch Set: Bring back GpuBrowserCompositorOutputSurface destructor Created 4 years 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/vulkan_browser_compositor_output_surface.h ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/vulkan_browser_compositor_output_surface.cc
diff --git a/content/browser/compositor/vulkan_browser_compositor_output_surface.cc b/content/browser/compositor/vulkan_browser_compositor_output_surface.cc
index da97d27459160e3b82ac538da777df23ccde225f..5cd2930ab0c0ee43ef4b5fca8235629bc80265fd 100644
--- a/content/browser/compositor/vulkan_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/vulkan_browser_compositor_output_surface.cc
@@ -12,10 +12,10 @@ namespace content {
VulkanBrowserCompositorOutputSurface::VulkanBrowserCompositorOutputSurface(
scoped_refptr<cc::VulkanContextProvider> context,
- scoped_refptr<ui::CompositorVSyncManager> vsync_manager,
+ const UpdateVSyncParametersCallback& update_vsync_parameters_callback,
cc::SyntheticBeginFrameSource* begin_frame_source)
: BrowserCompositorOutputSurface(std::move(context),
- std::move(vsync_manager),
+ update_vsync_parameters_callback,
begin_frame_source),
weak_ptr_factory_(this) {}
« no previous file with comments | « content/browser/compositor/vulkan_browser_compositor_output_surface.h ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698