Index: Source/wtf/text/TextCodecUTF16.cpp |
diff --git a/Source/wtf/text/TextCodecUTF16.cpp b/Source/wtf/text/TextCodecUTF16.cpp |
index a4e27366d4474e253d8dc289cc3f70970afa12bd..fe5e3f91d08167fd7d404c2a67ae80666b70dbb7 100644 |
--- a/Source/wtf/text/TextCodecUTF16.cpp |
+++ b/Source/wtf/text/TextCodecUTF16.cpp |
@@ -76,7 +76,7 @@ String TextCodecUTF16::decode(const char* bytes, size_t length, FlushBehavior fl |
if (!reallyFlush || !m_haveBufferedByte) |
return String(); |
sawError = true; |
- return String(&Unicode::replacementCharacter, 1); |
+ return String(&replacementCharacter, 1); |
} |
// FIXME: This should generate an error if there is an unpaired surrogate. |
@@ -120,7 +120,7 @@ String TextCodecUTF16::decode(const char* bytes, size_t length, FlushBehavior fl |
if (reallyFlush) { |
sawError = true; |
- *q++ = Unicode::replacementCharacter; |
+ *q++ = replacementCharacter; |
} else { |
m_haveBufferedByte = true; |
m_bufferedByte = p[0]; |