Index: Source/core/editing/EditorCommand.cpp |
diff --git a/Source/core/editing/EditorCommand.cpp b/Source/core/editing/EditorCommand.cpp |
index 7e16084097a50ed9261f9cd6d9a88a5f1bfecc31..854871dc4624785eec311e750a7c08bb868d2353 100644 |
--- a/Source/core/editing/EditorCommand.cpp |
+++ b/Source/core/editing/EditorCommand.cpp |
@@ -217,8 +217,6 @@ static bool expandSelectionToGranularity(Frame& frame, TextGranularity granulari |
return false; |
RefPtr<Range> oldRange = frame.selection().selection().toNormalizedRange(); |
EAffinity affinity = frame.selection().affinity(); |
- if (!frame.editor().client().shouldChangeSelectedRange(oldRange.get(), newRange.get(), affinity, false)) |
- return false; |
frame.selection().setSelectedRange(newRange.get(), affinity, true); |
return true; |
} |