Index: third_party/WebKit/Source/core/editing/VisibleUnits.cpp |
diff --git a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp |
index dfcbf04dcadef935e8026b06e17c69129ef9b137..2be451434d14e7fb4c8cea298bd91f3f73434af8 100644 |
--- a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp |
+++ b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp |
@@ -1326,7 +1326,7 @@ VisiblePosition previousLinePosition(const VisiblePosition& visiblePosition, Lay |
if (root) { |
// FIXME: Can be wrong for multi-column layout and with transforms. |
LayoutPoint pointInLine = absoluteLineDirectionPointToLocalPointInBlock(root, lineDirectionPoint); |
- LineLayoutItem lineLayoutItem = root->closestLeafChildForPoint(pointInLine, isEditablePosition(p))->getLineLayoutItem(); |
+ LineLayoutItem lineLayoutItem = root->closestLeafChildForPoint(pointInLine, isEditablePosition(p, ContentIsEditable, DoNotUpdateStyle))->getLineLayoutItem(); |
Node* node = lineLayoutItem.node(); |
if (node && editingIgnoresContent(node)) |
return VisiblePosition::inParentBeforeNode(*node); |