summaryrefslogtreecommitdiffstats
path: root/base/third_party
diff options
context:
space:
mode:
authorjshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-08 20:11:17 +0000
committerjshin@chromium.org <jshin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-08 20:11:17 +0000
commit98149a62d4a9bb3b478396a7eea2d9ad5d996383 (patch)
tree7e6216e8f8a1caf470e3c2c93488f0e78fa6b7d3 /base/third_party
parente14de0e1876642944ee924e25438a7b24dbb3857 (diff)
downloadchromium_src-98149a62d4a9bb3b478396a7eea2d9ad5d996383.zip
chromium_src-98149a62d4a9bb3b478396a7eea2d9ad5d996383.tar.gz
chromium_src-98149a62d4a9bb3b478396a7eea2d9ad5d996383.tar.bz2
Fix a typo in CBU16_IS_SURROGATE
It's pointing to U_IS_SURROGATE instead of CBU_IS_SURROGATE. BUG=NONE TEST=CBU16_IS_SURROGATE works fine in base. TBR=brettw Review URL: http://codereview.chromium.org/3294018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58866 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/third_party')
-rw-r--r--base/third_party/icu/icu_utf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/third_party/icu/icu_utf.h b/base/third_party/icu/icu_utf.h
index 050a84b..4d63eca 100644
--- a/base/third_party/icu/icu_utf.h
+++ b/base/third_party/icu/icu_utf.h
@@ -233,7 +233,7 @@ UChar32 utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c
}
// UTF-16 macros ---------------------------------------------------------------
-// from utf8.h
+// from utf16.h
/**
* Does this code unit alone encode a code point (BMP, not a surrogate)?
@@ -241,7 +241,7 @@ UChar32 utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c
* @return TRUE or FALSE
* @stable ICU 2.4
*/
-#define CBU16_IS_SINGLE(c) !U_IS_SURROGATE(c)
+#define CBU16_IS_SINGLE(c) !CBU_IS_SURROGATE(c)
/**
* Is this code unit a lead surrogate (U+d800..U+dbff)?