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); |