Commit 2edec853 authored by abarth@webkit.org's avatar abarth@webkit.org

DocumentWriter::deprecatedFrameEncoding doesn't need to refert to Settings

https://bugs.webkit.org/show_bug.cgi?id=67812

Reviewed by Eric Seidel.

The one caller of this function does this work already.

* loader/DocumentWriter.cpp:
(WebCore::DocumentWriter::deprecatedFrameEncoding):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94825 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2c63b57a
2011-09-08 Adam Barth <abarth@webkit.org>
DocumentWriter::deprecatedFrameEncoding doesn't need to refert to Settings
https://bugs.webkit.org/show_bug.cgi?id=67812
Reviewed by Eric Seidel.
The one caller of this function does this work already.
* loader/DocumentWriter.cpp:
(WebCore::DocumentWriter::deprecatedFrameEncoding):
2011-09-08 Adam Klein <adamk@chromium.org>
Always zero-out m_sortedTextBoxesPosition to avoid uninitialized read in TextIterator
......@@ -254,8 +254,7 @@ String DocumentWriter::deprecatedFrameEncoding() const
if (m_decoder && m_decoder->encoding().isValid())
return m_decoder->encoding().name();
Settings* settings = m_frame->settings();
return settings ? settings->defaultTextEncodingName() : String();
return String();
}
void DocumentWriter::setDocumentWasLoadedAsPartOfNavigation()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment