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

Unified Diff: patches/uspoof.patch

Issue 2499493002: Cherry pick 2 more patches from the upstream (Closed)
Patch Set: Created 4 years, 1 month 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 | « patches/greek_upper.patch ('k') | source/common/ucasemap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/uspoof.patch
diff --git a/patches/uspoof.patch b/patches/uspoof.patch
new file mode 100644
index 0000000000000000000000000000000000000000..0ab659739bd141c1c493c6217e44cff254cc04cd
--- /dev/null
+++ b/patches/uspoof.patch
@@ -0,0 +1,18 @@
+Index: source/i18n/uspoof.cpp
+===================================================================
+--- source/i18n/uspoof.cpp (revision 39492)
++++ source/i18n/uspoof.cpp (revision 39493)
+@@ -646,13 +646,6 @@
+ return dest;
+ }
+
+- // Check that at least one of the CONFUSABLE flags is turned on. If not,
+- // return an error.
+- if ((This->fChecks & USPOOF_CONFUSABLE) == 0) {
+- *status = U_ILLEGAL_ARGUMENT_ERROR;
+- return dest;
+- }
+-
+ UnicodeString nfdId;
+ gNfdNormalizer->normalize(id, nfdId, *status);
+
« no previous file with comments | « patches/greek_upper.patch ('k') | source/common/ucasemap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698