[LayoutNG] ClearNGInlineNodeData after layout
This is a minor cleanup to move |ClearNGInlineNodeData| to after layout. Avoids calling it when caching is valid, and avoids one call to |FirstChild()| which is not really cheap. Bug: 636993 Change-Id: I6b5dacfc1204a737ed100d2592fc33b9035240ea Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1577221Reviewed-by:Xiaocheng Hu <xiaochengh@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#652821}
Showing
Please register or sign in to comment