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

Unified Diff: third_party/WebKit/Source/core/editing/commands/SmartReplaceCF.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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/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)

Powered by Google App Engine
This is Rietveld 408576698