| Index: Source/core/rendering/RenderText.cpp
 | 
| diff --git a/Source/core/rendering/RenderText.cpp b/Source/core/rendering/RenderText.cpp
 | 
| index f58c8106a0358b232be6c0d0eff54e6017383f8f..169a10f99907cbb44eeb509c2a8cdae575578d4b 100644
 | 
| --- a/Source/core/rendering/RenderText.cpp
 | 
| +++ b/Source/core/rendering/RenderText.cpp
 | 
| @@ -120,8 +120,8 @@ static void makeCapitalized(String* string, UChar previous)
 | 
|      result.reserveCapacity(length);
 | 
|  
 | 
|      int32_t endOfWord;
 | 
| -    int32_t startOfWord = textBreakFirst(boundary);
 | 
| -    for (endOfWord = textBreakNext(boundary); endOfWord != TextBreakDone; startOfWord = endOfWord, endOfWord = textBreakNext(boundary)) {
 | 
| +    int32_t startOfWord = boundary->first();
 | 
| +    for (endOfWord = boundary->next(); endOfWord != TextBreakDone; startOfWord = endOfWord, endOfWord = boundary->next()) {
 | 
|          if (startOfWord) // Ignore first char of previous string
 | 
|              result.append(input[startOfWord - 1] == noBreakSpace ? noBreakSpace : toTitleCase(stringWithPrevious[startOfWord]));
 | 
|          for (int i = startOfWord + 1; i < endOfWord; i++)
 | 
| @@ -1664,7 +1664,7 @@ int RenderText::previousOffset(int current) const
 | 
|      if (!iterator)
 | 
|          return current - 1;
 | 
|  
 | 
| -    long result = textBreakPreceding(iterator, current);
 | 
| +    long result = iterator->preceding(current);
 | 
|      if (result == TextBreakDone)
 | 
|          result = current - 1;
 | 
|  
 | 
| @@ -1820,7 +1820,7 @@ int RenderText::nextOffset(int current) const
 | 
|      if (!iterator)
 | 
|          return current + 1;
 | 
|  
 | 
| -    long result = textBreakFollowing(iterator, current);
 | 
| +    long result = iterator->following(current);
 | 
|      if (result == TextBreakDone)
 | 
|          result = current + 1;
 | 
|  
 | 
| 
 |