Avoid redundant lookups in glyphs cache.
This CL has no behavior change. It is a simple optimisation that avoid doing two lookups in the map. The iterator returns by map::find is able to do both queries. R=robliao@chromium.org, asvitkine@chromium.org Change-Id: If6dc1c90914e0f5f7c6616d47f7a0325cfda93da Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872308Reviewed-by:Alexei Svitkine <asvitkine@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Commit-Queue: Etienne Bergeron <etienneb@chromium.org> Cr-Commit-Position: refs/heads/master@{#708375}
Showing
Please register or sign in to comment