Unreviewed. Fixing misspellings of 'position'.
* editing/DeleteSelectionCommand.cpp:
(WebCore::DeleteSelectionCommand::smartDeleteParagraphSpacers):
* platform/ScrollAnimator.cpp:
(WebCore::ScrollAnimator::scrollToOffsetWithoutAnimation):
* rendering/line/BreakingContext.h:
(WebCore::BreakingContext::handleText):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@263535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/editing/DeleteSelectionCommand.cpp b/Source/WebCore/editing/DeleteSelectionCommand.cpp
index d5d0be6..112f97b 100644
--- a/Source/WebCore/editing/DeleteSelectionCommand.cpp
+++ b/Source/WebCore/editing/DeleteSelectionCommand.cpp
@@ -188,12 +188,12 @@
visibleEnd = visibleEnd.next(CannotCrossEditingBoundary);
bool previousPositionIsStartOfContent = startOfEditableContent(visibleStart) == visibleStart;
bool previousPositionIsBlankParagraph = isBlankParagraph(visibleStart);
- bool endPositonIsBlankParagraph = isBlankParagraph(visibleEnd);
- bool hasBlankParagraphAfterEndOrIsEndOfContent = !selectionEndIsEndOfContent && (endPositonIsBlankParagraph || selectionEndsInParagraphSeperator);
+ bool endPositionIsBlankParagraph = isBlankParagraph(visibleEnd);
+ bool hasBlankParagraphAfterEndOrIsEndOfContent = !selectionEndIsEndOfContent && (endPositionIsBlankParagraph || selectionEndsInParagraphSeperator);
if (startAndEndInSameUnsplittableElement && previousPositionIsBlankParagraph && hasBlankParagraphAfterEndOrIsEndOfContent) {
m_needPlaceholder = false;
Position position;
- if (endPositonIsBlankParagraph)
+ if (endPositionIsBlankParagraph)
position = startOfNextParagraph(startOfNextParagraph(m_downstreamEnd)).deepEquivalent();
else
position = VisiblePosition(m_downstreamEnd).next().deepEquivalent();