| Index: third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp
|
| diff --git a/third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp b/third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..58f4c293c7eb072ce13007b0882b13c6838ee2c5
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/platform/fonts/FontFallbackPriority.cpp
|
| @@ -0,0 +1,17 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#include "platform/fonts/FontFallbackPriority.h"
|
| +
|
| +namespace blink {
|
| +
|
| +bool isNonTextFallbackPriority(FontFallbackPriority fallbackPriority)
|
| +{
|
| + return fallbackPriority == FontFallbackPriority::Symbols
|
| + || fallbackPriority == FontFallbackPriority::Math
|
| + || fallbackPriority == FontFallbackPriority::EmojiText
|
| + || fallbackPriority == FontFallbackPriority::EmojiEmoji;
|
| +};
|
| +
|
| +}
|
|
|