summaryrefslogtreecommitdiff
path: root/chromium/third_party/WebKit/Source/platform/fonts/Character.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/platform/fonts/Character.h')
-rw-r--r--chromium/third_party/WebKit/Source/platform/fonts/Character.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/Source/platform/fonts/Character.h b/chromium/third_party/WebKit/Source/platform/fonts/Character.h
index bb6ef77c32f..f14fa089168 100644
--- a/chromium/third_party/WebKit/Source/platform/fonts/Character.h
+++ b/chromium/third_party/WebKit/Source/platform/fonts/Character.h
@@ -93,6 +93,11 @@ public:
}
static bool canReceiveTextEmphasis(UChar32);
+ static bool isModifier(UChar32 c)
+ {
+ return c >= 0x1F3FB && c <= 0x1F3FF;
+ }
+
static inline UChar normalizeSpaces(UChar character)
{
if (treatAsSpace(character))