Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix callback definition/usage in C++ bindings doc.
Mojo generated code now uses move-only base::OnceCallback values, instead of const references to base::Callback, so update the example code to reflect this. Also add a small note explaining that a dependency needs to be added from one of the top-level BUILD.gn groups to the new interface GN target to ensure the compilation instructions work correctly (otherwise, ninja complains that it doesn't know about the target). BUG=None R=yzshen@chromium.org,sky@chromium.org Change-Id: I2289af199da7da2bf8ed3ac0bd2f715d4cf8fbf0 Reviewed-on: https://chromium-review.googlesource.com/612387 Commit-Queue: David Turner <digit@chromium.org> Reviewed-by: Yuzhu Shen <yzshen@chromium.org> Cr-Commit-Position: refs/heads/master@{#512161}
- Loading branch information