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 a4ce8115fd9c9333993a38be45bc8872c8a6e6c1..b16aec0481d9a016eff67d02100451a6f55505cf 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; |