blink canvas: some cosmetic cleanups
This CL does a bit of cleanup I found around while reading the code:
- Forward-declares CanvasDrawListener.
- Reduces a verbose comment.
- Removes _ from a few internal class names (they landed like this
 in crrev.com/c/728340 but usually Chrome derived classes don't
 use _.
- Uses early-break in CanvasResourceProvider::Create() to avoid deep
 indents and use {} for if statements with large conditionals.
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Change-Id: Ib1faf4a2d334e0a9b108c9fa02ebfbeffa0ea8c3
Reviewed-on: https://chromium-review.googlesource.com/1042905Reviewed-by: 
Justin Novosad <junov@chromium.org>
Commit-Queue: Miguel Casas <mcasas@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556070}
Showing
Please register or sign in to comment