Introduce a proper constructor of Font with a FontSelector
This patch introduces a new Font constructor, so that Font can set its FontSelector during construction, instead of setting it later with the deprecated Update() function. Bug: 1049295 Change-Id: I6255ec14da7c3822ecfc9decd0fbf92322f2ccbe Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2107687 Commit-Queue: Xiaocheng Hu <xiaochengh@chromium.org> Reviewed-by:Dominik Röttsches <drott@chromium.org> Reviewed-by:
Rune Lillesveen <futhark@chromium.org> Reviewed-by:
Fernando Serboncini <fserb@chromium.org> Cr-Commit-Position: refs/heads/master@{#751442}
Showing
Please register or sign in to comment