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

Unified Diff: mojo/cc/output_surface_mojo.cc

Issue 756673004: Surfaces should acknowledge frame submissions (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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: mojo/cc/output_surface_mojo.cc
diff --git a/mojo/cc/output_surface_mojo.cc b/mojo/cc/output_surface_mojo.cc
index 193c7acb78649d606cfcbcc9c954bf111e44141f..e7a8def4e619888bfa4634902298e58c833ee685 100644
--- a/mojo/cc/output_surface_mojo.cc
+++ b/mojo/cc/output_surface_mojo.cc
@@ -49,7 +49,8 @@ void OutputSurfaceMojo::SwapBuffers(cc::CompositorFrame* frame) {
surface_size_ = frame_size;
}
- surface_->SubmitFrame(SurfaceId::From(surface_id_), Frame::From(*frame));
+ surface_->SubmitFrame(SurfaceId::From(surface_id_), Frame::From(*frame),
+ mojo::Closure());
client_->DidSwapBuffers();
client_->DidSwapBuffersComplete();

Powered by Google App Engine
This is Rietveld 408576698