diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/platform/fonts/font_selection_types.h')
-rw-r--r-- | chromium/third_party/blink/renderer/platform/fonts/font_selection_types.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/platform/fonts/font_selection_types.h b/chromium/third_party/blink/renderer/platform/fonts/font_selection_types.h index 5fb1723e2fe..85d2cb47c23 100644 --- a/chromium/third_party/blink/renderer/platform/fonts/font_selection_types.h +++ b/chromium/third_party/blink/renderer/platform/fonts/font_selection_types.h @@ -185,6 +185,18 @@ static inline const FontSelectionValue& ItalicSlopeValue() { return italicValue; } +static inline const FontSelectionValue& MaxObliqueValue() { + DEFINE_THREAD_SAFE_STATIC_LOCAL(const FontSelectionValue, maxObliqueValue, + (90)); + return maxObliqueValue; +} + +static inline const FontSelectionValue& MinObliqueValue() { + DEFINE_THREAD_SAFE_STATIC_LOCAL(const FontSelectionValue, minObliqueValue, + (-90)); + return minObliqueValue; +} + static inline const FontSelectionValue& BoldThreshold() { DEFINE_THREAD_SAFE_STATIC_LOCAL(const FontSelectionValue, boldThreshold, (600)); |