Index: Source/core/editing/VisibleSelection.cpp |
diff --git a/Source/core/editing/VisibleSelection.cpp b/Source/core/editing/VisibleSelection.cpp |
index 13543de8bc310dcb3a9b7cc4b3c069aae5686b52..e9fa94cca02efdb656f07edda814c6026f469a1f 100644 |
--- a/Source/core/editing/VisibleSelection.cpp |
+++ b/Source/core/editing/VisibleSelection.cpp |
@@ -313,7 +313,7 @@ void VisibleSelection::appendTrailingWhitespace() |
UChar c = charIt.characterAt(0); |
if ((!isSpaceOrNewline(c) && c != noBreakSpace) || c == '\n') |
break; |
- m_end = charIt.range()->endPosition(); |
+ m_end = charIt.endPosition(); |
changed = true; |
} |
if (changed) |