Index: Source/core/editing/EditorCommand.cpp |
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp |
index 5bb83cbb6b554fd24274942f4af31fb4eae79057..0ca0c7fde0c56c860c044e86191915e6a8aa94b0 100644 |
--- a/Source/core/editing/EditorCommand.cpp |
+++ b/Source/core/editing/EditorCommand.cpp |
@@ -216,7 +216,7 @@ static bool expandSelectionToGranularity(LocalFrame& frame, TextGranularity gran |
RefPtrWillBeRawPtr<Range> newRange = selection.toNormalizedRange(); |
if (!newRange) |
return false; |
- if (newRange->collapsed(IGNORE_EXCEPTION)) |
+ if (newRange->collapsed()) |
return false; |
EAffinity affinity = frame.selection().affinity(); |
frame.selection().setSelectedRange(newRange.get(), affinity, FrameSelection::CloseTyping); |