Commit 8fed8e5d authored by Sam Bowen's avatar Sam Bowen Committed by Commit Bot

Fix formatting of mojo cpp bindings doc.

* Remove an extra code block ending.
* Remove a reference to a part of the page that no longer exists.

Change-Id: I59d4979d97070f5396ba4b818ccaba208c584b99
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2155249Reviewed-by: default avatarKen Rockot <rockot@google.com>
Commit-Queue: Sam Bowen <sgbowen@google.com>
Cr-Commit-Position: refs/heads/master@{#760264}
parent b2208c13
......@@ -1330,10 +1330,6 @@ methods:
must return a `bool` to indicate whether the incoming data is accepted
(`true`) or rejected (`false`).
There are other methods a `StructTraits` specialization may define to satisfy
some less common requirements. See
[Advanced StructTraits Usage](#Advanced-StructTraits-Usage) for details.
In order to define the mapping for `gfx::Rect`, we want the following
`StructTraits` specialization, which we'll define in
`//ui/gfx/geometry/mojo/geometry_mojom_traits.h`:
......@@ -1464,7 +1460,6 @@ for details on the above definition and other supported parameters.
With this extra configuration present, any mojom references to `gfx.mojom.Rect`
(e.g. for method parameters or struct fields) will be `gfx::Rect` references in
generated C++ code.
```
For the Blink variant of bindings, add to the `blink_cpp_typemaps` list instead.
......
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