| Index: Source/wtf/text/TextEncoding.cpp
|
| diff --git a/Source/wtf/text/TextEncoding.cpp b/Source/wtf/text/TextEncoding.cpp
|
| index 6ee67c71bd2a1e6cdb60c2fa626cd2098b75265e..2e895070533e75368a9fb8dc217bf6c655898b6b 100644
|
| --- a/Source/wtf/text/TextEncoding.cpp
|
| +++ b/Source/wtf/text/TextEncoding.cpp
|
| @@ -120,24 +120,6 @@ CString TextEncoding::normalizeAndEncode(const String& string, UnencodableHandli
|
| return newTextCodec(*this)->encode(source, length, handling);
|
| }
|
|
|
| -const char* TextEncoding::domName() const
|
| -{
|
| - if (noExtendedTextEncodingNameUsed())
|
| - return m_name;
|
| -
|
| - // We treat EUC-KR as windows-949 (its superset), but need to expose
|
| - // the name 'EUC-KR' because the name 'windows-949' is not recognized by
|
| - // most Korean web servers even though they do use the encoding
|
| - // 'windows-949' with the name 'EUC-KR'.
|
| - // FIXME: This is not thread-safe. At the moment, this function is
|
| - // only accessed in a single thread, but eventually has to be made
|
| - // thread-safe along with usesVisualOrdering().
|
| - static const char* const a = atomicCanonicalTextEncodingName("windows-949");
|
| - if (m_name == a)
|
| - return "EUC-KR";
|
| - return m_name;
|
| -}
|
| -
|
| bool TextEncoding::usesVisualOrdering() const
|
| {
|
| if (noExtendedTextEncodingNameUsed())
|
|
|