| Index: third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp b/third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp
|
| index e7fd2cbec19421c8b67db9443aa93fadaaff6470..80de46258b646b0f475055725eedb6449d877feb 100644
|
| --- a/third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/GranularityStrategyTest.cpp
|
| @@ -149,7 +149,7 @@ void GranularityStrategyTest::parseText(const TextNodeVector& textNodes) {
|
| }
|
| }
|
| if (wordStarted) {
|
| - const auto& lastNode = textNodes.last();
|
| + const auto& lastNode = textNodes.back();
|
| int xEnd = visiblePositionToContentsPoint(
|
| createVisiblePosition(
|
| Position(lastNode, lastNode->wholeText().length())))
|
|
|