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

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

Issue 2402173002: cc: Get rid of PostSwapBuffersComplete. (Closed)
Patch Set: postswap: fix-blimp-unittest-post-swap-acks Created 4 years, 2 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
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 b06f9f22ab6192d2310a4c66ca07d9c03a67ad05..07d81aeab931763f26cf2b882e0bcf7e013def2a 100644
--- a/content/browser/compositor/vulkan_browser_compositor_output_surface.cc
+++ b/content/browser/compositor/vulkan_browser_compositor_output_surface.cc
@@ -48,13 +48,12 @@ void VulkanBrowserCompositorOutputSurface::OnGpuSwapBuffersCompleted(
gfx::SwapResult result,
const gpu::GpuProcessHostedCALayerTreeParamsMac* params_mac) {
RenderWidgetHostImpl::CompositorFrameDrawn(latency_info);
- OnSwapBuffersComplete();
+ client_->DidSwapBuffersComplete();
}
void VulkanBrowserCompositorOutputSurface::SwapBuffers(
cc::CompositorFrame* frame) {
surface_->SwapBuffers();
- PostSwapBuffersComplete();
}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698