| Index: third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| index 76b11ff233e2512e6f352404c1684ea0f2a58999..029e5f7c40f442e4ff6f2d412d26bf02dacaf176 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| @@ -430,7 +430,7 @@ static TriState SelectionListState(const FrameSelection& selection,
|
| selection.ComputeVisibleSelectionInDOMTreeDeprecated().Start(),
|
| tag_name);
|
| Element* end_element = EnclosingElementWithTag(
|
| - selection.ComputeVisibleSelectionInDOMTreeDeprecated().end(), tag_name);
|
| + selection.ComputeVisibleSelectionInDOMTreeDeprecated().End(), tag_name);
|
|
|
| if (start_element && end_element && start_element == end_element) {
|
| // If the selected list has the different type of list as child, return
|
| @@ -492,7 +492,7 @@ static WritingDirection TextDirectionForSelection(
|
|
|
| Position end;
|
| if (selection.IsRange()) {
|
| - end = MostBackwardCaretPosition(selection.end());
|
| + end = MostBackwardCaretPosition(selection.End());
|
|
|
| DCHECK(end.GetDocument());
|
| const EphemeralRange caret_range(position.ParentAnchoredEquivalent(),
|
|
|