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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h

Issue 1861033003: Fix Hangul Tone Marks not to delimit in CachingWordShapeIterator (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add isCJKIdeographOrSymbolBase and fix test Created 4 years, 8 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
Index: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h
index 2da5bef73ad79abb8f87e77408e4407bf5a5fed5..6418ecf870f0d61356e0fe13c352f6d42457dd1b 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h
+++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShapeIterator.h
@@ -154,7 +154,7 @@ private:
if (!m_textRun.is8Bit()) {
UChar32 nextChar;
U16_GET(m_textRun.characters16(), 0, i, length, nextChar);
- if (Character::isCJKIdeographOrSymbol(nextChar))
+ if (Character::isCJKIdeographOrSymbolBase(nextChar))
return i;
}
}

Powered by Google App Engine
This is Rietveld 408576698