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

Unified Diff: mojo/aura/surface_binding.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/aura/surface_binding.cc
diff --git a/mojo/aura/surface_binding.cc b/mojo/aura/surface_binding.cc
index 8c1da6862efc460cb4355f0eb5c0b7c9c6515395..beb4f7cf7ffc8900f4694de1033c709498456c23 100644
--- a/mojo/aura/surface_binding.cc
+++ b/mojo/aura/surface_binding.cc
@@ -100,7 +100,8 @@ void OutputSurfaceImpl::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