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

Unified Diff: examples/surfaces_app/child_impl.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: examples/surfaces_app/child_impl.cc
diff --git a/examples/surfaces_app/child_impl.cc b/examples/surfaces_app/child_impl.cc
index 980d6c2d7c8baac34065764683cbefa01bb71bfe..e2c03cdf9e1cd3fbc5df769e7129b9f7fde30c4e 100644
--- a/examples/surfaces_app/child_impl.cc
+++ b/examples/surfaces_app/child_impl.cc
@@ -91,8 +91,8 @@ void ChildImpl::Draw() {
scoped_ptr<CompositorFrame> frame(new CompositorFrame);
frame->delegated_frame_data = delegated_frame_data.Pass();
- surface_->SubmitFrame(mojo::SurfaceId::From(id_),
- mojo::Frame::From(*frame));
+ surface_->SubmitFrame(mojo::SurfaceId::From(id_), mojo::Frame::From(*frame),
+ mojo::Closure());
produce_callback_.Run(SurfaceId::From(id_));
}

Powered by Google App Engine
This is Rietveld 408576698