Clean up InlineTextBoxPainter::PaintDocumentMarkers()
This CL consolidates two switch statements in this method and makes the code easier to follow. It also removes NOTREACHED() from the switch statement to allow adding painting code for a DocumentMarker in a separate CL from the editing changes. Bug: Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: Ic125d633078ff3e74105f62ba64c5ebc349002bc Reviewed-on: https://chromium-review.googlesource.com/592327Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Commit-Queue: Ryan Landay <rlanday@chromium.org> Cr-Commit-Position: refs/heads/master@{#491866}
Showing
Please register or sign in to comment