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

Unified Diff: cc/surfaces/surface_display_output_surface.cc

Issue 2143263002: cc: Remove OutputSurfaceClient::DidSwapBuffers(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removedidswap: fix-webview-swap Created 4 years, 5 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 | « cc/surfaces/display.cc ('k') | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_display_output_surface.cc
diff --git a/cc/surfaces/surface_display_output_surface.cc b/cc/surfaces/surface_display_output_surface.cc
index 6dc569c724efd703f6f1a0a39886f2e57f26b2de..cdb6397ad562020ad0cbde889f329834df299152 100644
--- a/cc/surfaces/surface_display_output_surface.cc
+++ b/cc/surfaces/surface_display_output_surface.cc
@@ -74,8 +74,6 @@ void SurfaceDisplayOutputSurface::SwapBuffers(CompositorFrame frame) {
display_->SetSurfaceId(delegated_surface_id_,
frame.metadata.device_scale_factor);
- client_->DidSwapBuffers();
-
factory_.SubmitCompositorFrame(
delegated_surface_id_, std::move(frame),
base::Bind(&SurfaceDisplayOutputSurface::SwapBuffersComplete,
« no previous file with comments | « cc/surfaces/display.cc ('k') | cc/test/fake_layer_tree_host_impl_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698