Index: Source/core/editing/VisibleSelection.cpp |
diff --git a/Source/core/editing/VisibleSelection.cpp b/Source/core/editing/VisibleSelection.cpp |
index 3955dde01a77cba04ce39500fef81f0367a812c7..7f009d908d3027d298a7d41ff901f7c438caffb8 100644 |
--- a/Source/core/editing/VisibleSelection.cpp |
+++ b/Source/core/editing/VisibleSelection.cpp |
@@ -328,7 +328,7 @@ void VisibleSelection::appendTrailingWhitespace() |
for (; charIt.length(); charIt.advance(1)) { |
UChar c = charIt.characterAt(0); |
- if ((!isSpaceOrNewline(c) && c != noBreakSpace) || c == '\n') |
+ if ((!isSpaceOrNewline(c) && c != noBreakSpaceCharacter) || c == '\n') |
break; |
m_end = charIt.endPosition(); |
changed = true; |