Index: third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp |
diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp |
index d75b4587c102a69c3767f824f2859beae35954a6..c5d79eabe2e6f2a177b5beb15b01314cde7c43cc 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp |
+++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.cpp |
@@ -445,7 +445,7 @@ void TypingCommand::deleteKeyPressed(TextGranularity granularity, bool killRing, |
VisibleSelection selectionToDelete; |
VisibleSelection selectionAfterUndo; |
- switch (endingSelection().selectionType()) { |
+ switch (endingSelection().getSelectionType()) { |
case RangeSelection: |
selectionToDelete = endingSelection(); |
selectionAfterUndo = selectionToDelete; |
@@ -560,7 +560,7 @@ void TypingCommand::forwardDeleteKeyPressed(TextGranularity granularity, bool ki |
VisibleSelection selectionToDelete; |
VisibleSelection selectionAfterUndo; |
- switch (endingSelection().selectionType()) { |
+ switch (endingSelection().getSelectionType()) { |
case RangeSelection: |
selectionToDelete = endingSelection(); |
selectionAfterUndo = selectionToDelete; |