Move EnsureId to NGTextFragmentPainter
This patch moves |EnsureNodeId()| to inside of |NGTextFragmentPainter::Paint()| from its callers. All callers do the same preparations, this unifies them Bug: 924681 Change-Id: I3f0ca7d1ca418943604254ffd425df4e9edb7c33 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1761872 Commit-Queue: Xianzhu Wang <wangxianzhu@chromium.org> Reviewed-by:Xianzhu Wang <wangxianzhu@chromium.org> Auto-Submit: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#688685}
Showing
Please register or sign in to comment