summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/editing/VisibleSelection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/editing/VisibleSelection.cpp')
-rw-r--r--Source/WebCore/editing/VisibleSelection.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/WebCore/editing/VisibleSelection.cpp b/Source/WebCore/editing/VisibleSelection.cpp
index 5633c90..9e9692e 100644
--- a/Source/WebCore/editing/VisibleSelection.cpp
+++ b/Source/WebCore/editing/VisibleSelection.cpp
@@ -380,6 +380,8 @@ void VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity(Text
m_start = startOfSentence(VisiblePosition(m_start, m_affinity)).deepEquivalent();
m_end = endOfSentence(VisiblePosition(m_end, m_affinity)).deepEquivalent();
break;
+ case WebKitVisualWordGranularity:
+ break;
}
// Make sure we do not have a dangling start or end.