| Index: third_party/WebKit/Source/core/editing/Editor.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/Editor.cpp b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| index 95e8f5327292205ad40539ed09b9f215b1dad130..076c03112a6281539f856e502531843712ddcb27 100644
|
| --- a/third_party/WebKit/Source/core/editing/Editor.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/Editor.cpp
|
| @@ -556,7 +556,7 @@ bool Editor::shouldDeleteRange(const EphemeralRange& range) const
|
|
|
| void Editor::notifyComponentsOnChangedSelection(const VisibleSelection& oldSelection, FrameSelection::SetSelectionOptions options)
|
| {
|
| - client().respondToChangedSelection(m_frame, frame().selection().selectionType());
|
| + client().respondToChangedSelection(m_frame, frame().selection().getSelectionType());
|
| setStartNewKillRingSequence(true);
|
| }
|
|
|
| @@ -599,7 +599,7 @@ Element* Editor::findEventTargetFromSelection() const
|
|
|
| void Editor::applyStyle(StylePropertySet* style, EditAction editingAction)
|
| {
|
| - switch (frame().selection().selectionType()) {
|
| + switch (frame().selection().getSelectionType()) {
|
| case NoSelection:
|
| // do nothing
|
| break;
|
| @@ -1119,7 +1119,7 @@ void Editor::changeSelectionAfterCommand(const VisibleSelection& newSelection,
|
| // does not call EditorClient::respondToChangedSelection(), which, on the Mac, sends selection change notifications and
|
| // starts a new kill ring sequence, but we want to do these things (matches AppKit).
|
| if (selectionDidNotChangeDOMPosition)
|
| - client().respondToChangedSelection(m_frame, frame().selection().selectionType());
|
| + client().respondToChangedSelection(m_frame, frame().selection().getSelectionType());
|
| }
|
|
|
| IntRect Editor::firstRectForRange(const EphemeralRange& range) const
|
|
|