Commit 5e9390e5 authored by Herb Derby's avatar Herb Derby Committed by Commit Bot

Deprecate kGlyphMetricsFallback and kGlyphPathFallback

Change-Id: Iedce6a403777db230dcd959725f21c6cce2c0a41
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2039891
Commit-Queue: Herb Derby <herb@google.com>
Commit-Queue: Khushal <khushalsagar@chromium.org>
Auto-Submit: Herb Derby <herb@google.com>
Reviewed-by: default avatarKhushal <khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#738678}
parent a3624427
...@@ -106,11 +106,7 @@ class ServiceFontManager::SkiaDiscardableManager ...@@ -106,11 +106,7 @@ class ServiceFontManager::SkiaDiscardableManager
// it can be fixed. // it can be fixed.
NOTREACHED(); NOTREACHED();
const bool no_fallback = (type == SkStrikeClient::kGlyphMetrics || if (dump_count_ < kMaxDumps && base::RandInt(1, 100) == 1) {
type == SkStrikeClient::kGlyphPath ||
type == SkStrikeClient::kGlyphImage);
if (no_fallback && dump_count_ < kMaxDumps && base::RandInt(1, 100) == 1) {
++dump_count_; ++dump_count_;
base::debug::DumpWithoutCrashing(); base::debug::DumpWithoutCrashing();
} }
......
...@@ -47989,8 +47989,10 @@ Called by update_net_trust_anchors.py.--> ...@@ -47989,8 +47989,10 @@ Called by update_net_trust_anchors.py.-->
<int value="1" label="Missing glyph metrics"/> <int value="1" label="Missing glyph metrics"/>
<int value="2" label="Missing glyph image"/> <int value="2" label="Missing glyph image"/>
<int value="3" label="Missing glyph path"/> <int value="3" label="Missing glyph path"/>
<int value="4" label="Missing glyph image, but a fallback was found"/> <int value="4"
<int value="5" label="Missing glyph path, but a fallback was found"/> label="Missing glyph image, but a fallback was found (deprecated)"/>
<int value="5"
label="Missing glyph path, but a fallback was found (deprecated)"/>
</enum> </enum>
<enum name="OpenBrowserType"> <enum name="OpenBrowserType">
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