Index: third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp b/third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp |
index 38bc73590f3a3048ec9413cb26a2b445112c8049..53e0f1ee520b0271f2a8e104e9ff0e68d2adf68e 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp |
@@ -40,11 +40,13 @@ static CFMutableCharacterSetRef getSmartSet(bool isPreviousCharacter) { |
isPreviousCharacter ? preSmartSet : postSmartSet; |
if (!smartSet) { |
smartSet = CFCharacterSetCreateMutable(kCFAllocatorDefault); |
- CFCharacterSetAddCharactersInString( |
- smartSet, isPreviousCharacter ? CFSTR("([\"\'#$/-`{") |
- : CFSTR(")].,;:?\'!\"%*-/}")); |
- CFCharacterSetUnion(smartSet, CFCharacterSetGetPredefined( |
- kCFCharacterSetWhitespaceAndNewline)); |
+ CFCharacterSetAddCharactersInString(smartSet, |
+ isPreviousCharacter |
+ ? CFSTR("([\"\'#$/-`{") |
+ : CFSTR(")].,;:?\'!\"%*-/}")); |
+ CFCharacterSetUnion( |
+ smartSet, |
+ CFCharacterSetGetPredefined(kCFCharacterSetWhitespaceAndNewline)); |
// Adding CJK ranges |
CFCharacterSetAddCharactersInRange( |
smartSet, CFRangeMake(0x1100, 256)); // Hangul Jamo (0x1100 - 0x11FF) |