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

Unified Diff: examples/bitmap_uploader/bitmap_uploader.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/bitmap_uploader/bitmap_uploader.cc
diff --git a/examples/bitmap_uploader/bitmap_uploader.cc b/examples/bitmap_uploader/bitmap_uploader.cc
index 4d1051b29df236352d039c7d9654c2d65bc49782..ce898b6d595950cf2a0a6364f68bd85b94ac09c4 100644
--- a/examples/bitmap_uploader/bitmap_uploader.cc
+++ b/examples/bitmap_uploader/bitmap_uploader.cc
@@ -222,7 +222,7 @@ void BitmapUploader::Upload() {
frame->passes.push_back(pass.Pass());
- surface_->SubmitFrame(surface_id_.Clone(), frame.Pass());
+ surface_->SubmitFrame(surface_id_.Clone(), frame.Pass(), mojo::Closure());
}
void BitmapUploader::ReturnResources(Array<ReturnedResourcePtr> resources) {
« no previous file with comments | « no previous file | examples/ganesh_app/texture_uploader.cc » ('j') | mojo/services/public/interfaces/surfaces/surfaces.mojom » ('J')

Powered by Google App Engine
This is Rietveld 408576698