Commit 7a5a9f59 authored by Alex Turner's avatar Alex Turner Committed by Commit Bot

Use correct Surface::Type for font lookups by unique name only

Currently, such lookups are accidentally recorded under
kLocalFontLookupByUniqueOrFamilyName due to a typo. This affects the
metrics recording for the identifiability study

Bug: 1136921
Change-Id: Ibf4a28a6edfabff0a570bd35c09686b5b020957d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463702Reviewed-by: default avatarAsanka Herath <asanka@chromium.org>
Reviewed-by: default avatarDominik Röttsches <drott@chromium.org>
Commit-Queue: Alex Turner <alexmt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#816675}
parent cd54199f
......@@ -244,7 +244,7 @@ void FontMatchingMetrics::PublishIdentifiabilityMetrics() {
{&font_lookups_by_unique_or_family_name_,
IdentifiableSurface::Type::kLocalFontLookupByUniqueOrFamilyName},
{&font_lookups_by_unique_name_only_,
IdentifiableSurface::Type::kLocalFontLookupByUniqueOrFamilyName},
IdentifiableSurface::Type::kLocalFontLookupByUniqueNameOnly},
{&font_lookups_by_fallback_character_,
IdentifiableSurface::Type::kLocalFontLookupByFallbackCharacter},
{&font_lookups_as_last_resort_,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment