canvas: style fixes
While working on crrev.com/c/1294870 I cleaned up a bit the style
around the files below:
- no {} for one liners
- if (a) then return foo; return bar ==> return a ? foo : bar;
All in all: less lines, more consistent style. No new functionality
intended.
Bug: 865957
Change-Id: Iac7f26be9a9a2323b09f80d29a5f7ec9f4370278
Reviewed-on: https://chromium-review.googlesource.com/c/1300037Reviewed-by:
Andres Calderon Jaramillo <andrescj@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#602987}
Showing
Please register or sign in to comment