summaryrefslogtreecommitdiffstats
path: root/webkit/pending/Font.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/pending/Font.cpp')
-rw-r--r--webkit/pending/Font.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/webkit/pending/Font.cpp b/webkit/pending/Font.cpp
index ef3091d..04dd928 100644
--- a/webkit/pending/Font.cpp
+++ b/webkit/pending/Font.cpp
@@ -809,17 +809,4 @@ FontSelector* Font::fontSelector() const
return m_fontList ? m_fontList->fontSelector() : 0;
}
-// static
-bool Font::isCJKCodePoint(UChar32 c)
-{
- // AC00..D7AF; Hangul Syllables
- if ((0xAC00 <= c) && (c <= 0xD7AF))
- return true;
-
- // CJK ideographs
- UErrorCode errorCode;
- return uscript_getScript(c, &errorCode) == USCRIPT_HAN &&
- U_SUCCESS(errorCode);
-}
-
}