| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 9cd3a9f7679d3c1801f958ac83661fa97b265316..e18e63b144071dfa02b1af41a5ec5d7b5eadf385 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -4107,7 +4107,7 @@ void Document::setEncodingData(const DocumentEncodingData& newData)
|
|
|
| CString originalBytes = m_titleElement->textContent().latin1();
|
| OwnPtr<TextCodec> codec = newTextCodec(newData.encoding());
|
| - String correctlyDecodedTitle = codec->decode(originalBytes.data(), originalBytes.length(), true);
|
| + String correctlyDecodedTitle = codec->decode(originalBytes.data(), originalBytes.length(), DataEOF);
|
| m_titleElement->setTextContent(correctlyDecodedTitle);
|
| }
|
|
|
|
|