| 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 7587722432c4d74d6a6b3aefb67630bd90c3e756..d8269f7e129bd1f6795522e8566165ee9494ebc3 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/commands/EditorCommand.cpp
|
| @@ -415,7 +415,7 @@ static bool hasChildTags(Element& element, const QualifiedName& tagName) {
|
|
|
| static TriState selectionListState(const FrameSelection& selection,
|
| const QualifiedName& tagName) {
|
| - if (selection.isCaret()) {
|
| + if (selection.computeVisibleSelectionInDOMTreeDeprecated().isCaret()) {
|
| if (enclosingElementWithTag(
|
| selection.computeVisibleSelectionInDOMTreeDeprecated().start(),
|
| tagName))
|
|
|