Commit 6613920d authored by scottmg's avatar scottmg Committed by Commit bot

doc: Fix typo in MakeStrongBinding() section

TBR=rockot@chromium.org

Review-Url: https://codereview.chromium.org/2865493002
Cr-Commit-Position: refs/heads/master@{#469405}
parent bc11dd61
...@@ -849,14 +849,14 @@ class LoggerImpl : public sample::mojom::Logger { ...@@ -849,14 +849,14 @@ class LoggerImpl : public sample::mojom::Logger {
}; };
db::mojom::LoggerPtr logger; db::mojom::LoggerPtr logger;
mojo::MakeStrongBinding(base::MakeUnique<DatabaseImpl>(), mojo::MakeStrongBinding(base::MakeUnique<LoggerImpl>(),
mojo::MakeRequest(&logger)); mojo::MakeRequest(&logger));
logger->Log("NOM NOM NOM MESSAGES"); logger->Log("NOM NOM NOM MESSAGES");
``` ```
Now as long as `logger` remains open somewhere in the system, the bound Now as long as `logger` remains open somewhere in the system, the bound
`DatabaseImpl` on the other end will remain alive. `LoggerImpl` on the other end will remain alive.
### Binding Sets ### Binding Sets
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment