OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "platform/fonts/FontFallbackPriority.h" | |
6 | |
7 namespace blink { | |
8 | |
9 bool isNonTextFallbackPriority(FontFallbackPriority fallbackPriority) | |
10 { | |
11 return fallbackPriority == FontFallbackPriority::Symbols | |
wkorman
2016/01/22 00:50:45
Why not return fallbackPriority != FontFallbackPri
drott
2016/01/22 14:28:21
I chose to enumerate them because I would like the
| |
12 || fallbackPriority == FontFallbackPriority::Math | |
13 || fallbackPriority == FontFallbackPriority::EmojiText | |
14 || fallbackPriority == FontFallbackPriority::EmojiEmoji; | |
15 }; | |
16 | |
17 } | |
OLD | NEW |