Avoid IPC calls for fonts not retrievable through Downloadable Fonts
Use the list of candidates for available fonts implemented in [1], lazily retrieve it and check the list before making IPC calls for requesting a font. After retrieving the list once, this avoids making IPC calls for font retrieval for fonts that are not available through the Android Downloadable Fonts API implemented on the Java side of the IPC interface. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2414514 Bug: 1115064 Change-Id: I0c9bee08082f522cbd00fbf85df0c2f4e806cbfc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2425049 Commit-Queue: Dominik Röttsches <drott@chromium.org> Reviewed-by:Natalie Chouinard <chouinard@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#810112}
Showing
Please register or sign in to comment