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

Unified Diff: third_party/WebKit/Source/platform/text/TextBoundaries.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/platform/text/TextBoundaries.cpp
diff --git a/third_party/WebKit/Source/platform/text/TextBoundaries.cpp b/third_party/WebKit/Source/platform/text/TextBoundaries.cpp
index 96eb2d5a0aba0dca0a185e40fc6b808e147a332a..06153da7ff722b9a3c016e3d0d37241a6a57f895 100644
--- a/third_party/WebKit/Source/platform/text/TextBoundaries.cpp
+++ b/third_party/WebKit/Source/platform/text/TextBoundaries.cpp
@@ -68,8 +68,9 @@ int findNextWordFromIndex(const UChar* chars,
while (position != TextBreakDone) {
// We stop searching when the character preceeding the break
// is alphanumeric or underscore.
- if (position < len && (isAlphanumeric(chars[position - 1]) ||
- chars[position - 1] == lowLineCharacter))
+ if (position < len &&
+ (isAlphanumeric(chars[position - 1]) ||
+ chars[position - 1] == lowLineCharacter))
return position;
position = it->following(position);
@@ -81,8 +82,9 @@ int findNextWordFromIndex(const UChar* chars,
while (position != TextBreakDone) {
// We stop searching when the character following the break
// is alphanumeric or underscore.
- if (position > 0 && (isAlphanumeric(chars[position]) ||
- chars[position] == lowLineCharacter))
+ if (position > 0 &&
+ (isAlphanumeric(chars[position]) ||
+ chars[position] == lowLineCharacter))
return position;
position = it->preceding(position);
« no previous file with comments | « third_party/WebKit/Source/platform/text/CharacterTest.cpp ('k') | third_party/WebKit/Source/platform/text/UnicodeRange.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698