| Index: Source/wtf/text/TextEncoding.h
|
| diff --git a/Source/wtf/text/TextEncoding.h b/Source/wtf/text/TextEncoding.h
|
| index 7ba35fe8cf399c8434b483ea3b0fe5a2da5d1d36..1e4aa7b3f683f8135a38cd9c8103a78086464b0b 100644
|
| --- a/Source/wtf/text/TextEncoding.h
|
| +++ b/Source/wtf/text/TextEncoding.h
|
| @@ -42,26 +42,6 @@ public:
|
| bool isValid() const { return m_name; }
|
| const char* name() const { return m_name; }
|
| bool usesVisualOrdering() const;
|
| -
|
| - bool hasTrivialDisplayString() const { return m_backslashAsCurrencySymbol == '\\'; }
|
| -
|
| - PassRefPtr<StringImpl> displayString(PassRefPtr<StringImpl> str) const
|
| - {
|
| - if (hasTrivialDisplayString() || !str)
|
| - return str;
|
| - return str->replace('\\', m_backslashAsCurrencySymbol);
|
| - }
|
| - template <typename CharacterType>
|
| - void displayBuffer(CharacterType* characters, unsigned len) const
|
| - {
|
| - if (hasTrivialDisplayString())
|
| - return;
|
| - for (unsigned i = 0; i < len; ++i) {
|
| - if (characters[i] == '\\')
|
| - characters[i] = m_backslashAsCurrencySymbol;
|
| - }
|
| - }
|
| -
|
| const TextEncoding& closestByteBasedEquivalent() const;
|
| const TextEncoding& encodingForFormSubmission() const;
|
|
|
|
|