Index: third_party/WebKit/Source/core/editing/GranularityStrategy.cpp |
diff --git a/third_party/WebKit/Source/core/editing/GranularityStrategy.cpp b/third_party/WebKit/Source/core/editing/GranularityStrategy.cpp |
index 62d82b70da680d0179514cb2850268cbd785b7e3..5af5c26902af31b06bc68376fbf6d2761e3530b3 100644 |
--- a/third_party/WebKit/Source/core/editing/GranularityStrategy.cpp |
+++ b/third_party/WebKit/Source/core/editing/GranularityStrategy.cpp |
@@ -193,9 +193,10 @@ VisibleSelection DirectionGranularityStrategy::updateExtent( |
// expanding in a different direction than before. Therefore we |
// calculate the word boundary in this new direction and based on |
// the |base| position. |
- wordBoundary = nextWordBound(base, newExtentBaseOrder > 0 |
- ? SearchDirection::SearchForward |
- : SearchDirection::SearchBackwards, |
+ wordBoundary = nextWordBound(base, |
+ newExtentBaseOrder > 0 |
+ ? SearchDirection::SearchForward |
+ : SearchDirection::SearchBackwards, |
BoundAdjust::NextBoundIfOnBound); |
m_granularity = CharacterGranularity; |
} else { |