| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 8f4b21abbe39dce8be5c090a85cd42abe5e273df..59dd99f05d1a76ff529710eea537588029efb25d 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -1105,10 +1105,10 @@ void Document::setReadyState(ReadyState readyState)
|
|
|
| String Document::encodingName() const
|
| {
|
| - // TextEncoding::domName() returns a char*, no need to allocate a new
|
| + // TextEncoding::name() returns a char*, no need to allocate a new
|
| // String for it each time.
|
| // FIXME: We should fix TextEncoding to speak AtomicString anyway.
|
| - return AtomicString(m_encoding.domName());
|
| + return AtomicString(m_encoding.name());
|
| }
|
|
|
| String Document::defaultCharset() const
|
|
|