Commit 179fafe0 authored by eric@webkit.org's avatar eric@webkit.org
Browse files

Remove DocumentWriter::setDecoder as a grep of WebKit shows no callers

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

Reviewed by Adam Barth.

Smells like dead code.

* loader/DocumentWriter.cpp:
* loader/DocumentWriter.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@94800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2c9112e8
2011-09-08 Eric Seidel <eric@webkit.org>
Remove DocumentWriter::setDecoder as a grep of WebKit shows no callers
https://bugs.webkit.org/show_bug.cgi?id=67803
Reviewed by Adam Barth.
Smells like dead code.
* loader/DocumentWriter.cpp:
* loader/DocumentWriter.h:
2011-09-08 Shinya Kawanaka <shinyak@google.com>
 
Crashes in WebCore::ReplaceSelectionCommand::doApply
......@@ -253,11 +253,6 @@ void DocumentWriter::setEncoding(const String& name, bool userChosen)
m_encodingWasChosenByUser = userChosen;
}
void DocumentWriter::setDecoder(TextResourceDecoder* decoder)
{
m_decoder = decoder;
}
String DocumentWriter::deprecatedFrameEncoding() const
{
return m_frame->document()->url().isEmpty() ? m_encoding : encoding();
......
......@@ -68,8 +68,6 @@ public:
const String& mimeType() const { return m_mimeType; }
void setMIMEType(const String& type) { m_mimeType = type; }
void setDecoder(TextResourceDecoder*);
// Exposed for DocumentParser::appendBytes.
TextResourceDecoder* createDecoderIfNeeded();
void reportDataReceived();
......
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