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 aec898d9c92a4d1b74c5b09caea386ff71312cb7..b59948bc465248c5ac7f2da6a2c66f51cd0c79b4 100644 |
--- a/third_party/WebKit/Source/core/editing/VisibleUnits.cpp |
+++ b/third_party/WebKit/Source/core/editing/VisibleUnits.cpp |
@@ -1328,7 +1328,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 createVisiblePosition(Position::inParentBeforeNode(*node)); |