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_)); |
} |