Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(968)

Unified Diff: third_party/WebKit/Source/platform/fonts/Character.cpp

Issue 1780723002: Enable Emoji Fitzpatrick modifier sequences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/CharacterData.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/Character.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/Character.cpp b/third_party/WebKit/Source/platform/fonts/Character.cpp
index 26161793011f786b383383cb39a465ef2ed5ac09..1fbc57f214082b9578601efbf3c1d40c3010e52a 100644
--- a/third_party/WebKit/Source/platform/fonts/Character.cpp
+++ b/third_party/WebKit/Source/platform/fonts/Character.cpp
@@ -198,6 +198,11 @@ CodePath Character::characterRangeCodePath(const UChar* characters, unsigned len
if (supplementaryCharacter <= 0x1F469)
return ComplexPath;
+ if (supplementaryCharacter < 0x1F3FB)
eae 2016/03/09 19:33:45 Could we add named constants or a comment to expla
+ continue;
+ if (supplementaryCharacter >= 0x1F3FF)
+ return ComplexPath;
+
if (supplementaryCharacter < 0xE0100) // U+E0100 through U+E01EF Unicode variation selectors.
continue;
if (supplementaryCharacter <= 0xE01EF)
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/CharacterData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698