TextControl NG: Make LayoutTextControl::GetAvgCharWidth() static and public
This CL will help to implement intrinsic sizes of LayoutNGTextControl*. - Change the argument of the function to |const ComputedStyle&| in order to avoid using StyleRef() member function. This CL has no behavior changes. Bug: 1040826 Change-Id: Ic66b5a25d28806bfc71ab0011357571924d1e189 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2440725 Commit-Queue: Kent Tamura <tkent@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Kent Tamura <tkent@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#812617}
Showing
Please register or sign in to comment