[NGFagmentItem] Make LinkHighlightImpl::Paint() to use NGInlineCursor only for LayoutNG
This patch changes |LinkHighlightImpl::Paint()| to use |NGInlineCursor| only for LayoutNG tree to avoid hitting |DCHECK()| when runtime enabled feature LayoutNG disabled but LayoutNGFragmentItem enabled, e.g. linux_layout_tests_layout_ng_disabled bot. This is follow-up of the CL[1] which makes |LinkHighlightImpl::Paint()| to use |NGInlineCursor|. [1] http://crrev.com/c/2097777 [NGFragmentItem] Stop using rounded rect for link highlight when <a> has nested inline Bug: 707656 Change-Id: If1b4c052510a76f58bb8016cb9110479709bd82e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2286090 Auto-Submit: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Kent Tamura <tkent@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#786168}
Showing
Please register or sign in to comment