Index: Source/core/editing/VisibleSelection.cpp |
diff --git a/Source/core/editing/VisibleSelection.cpp b/Source/core/editing/VisibleSelection.cpp |
index 411437768c0c3bf2662cf67cf1c0bde506e3a3eb..62b6ae237bf3c60ad89d53655603d50bffaba1d8 100644 |
--- a/Source/core/editing/VisibleSelection.cpp |
+++ b/Source/core/editing/VisibleSelection.cpp |
@@ -303,7 +303,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) |