-
Yi Xu authored
The location is always set to (0, 0) when maxWidth is used, so any coloring system based on location doesn't work with maxWidth. Fix it by avoiding reset the location for FillText. Test is also added. Bug: 1030655 Change-Id: I36a41212b3d165145e4e25dd3bfd923aad70d7c9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2040536 Commit-Queue: Yi Xu <yiyix@chromium.org> Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Reviewed-by:
Juanmi Huertas <juanmihd@chromium.org> Reviewed-by:
Aaron Krajeski <aaronhk@chromium.org> Cr-Commit-Position: refs/heads/master@{#742925}
9c810822