Changeset 94800 in webkit


Ignore:
Timestamp:
Sep 8, 2011 2:31:36 PM (13 years ago)
Author:
eric@webkit.org
Message:

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:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r94793 r94800  
     12011-09-08  Eric Seidel  <eric@webkit.org>
     2
     3        Remove DocumentWriter::setDecoder as a grep of WebKit shows no callers
     4        https://bugs.webkit.org/show_bug.cgi?id=67803
     5
     6        Reviewed by Adam Barth.
     7
     8        Smells like dead code.
     9
     10        * loader/DocumentWriter.cpp:
     11        * loader/DocumentWriter.h:
     12
    1132011-09-08  Shinya Kawanaka  <shinyak@google.com>
    214
  • trunk/Source/WebCore/loader/DocumentWriter.cpp

    r94112 r94800  
    254254}
    255255
    256 void DocumentWriter::setDecoder(TextResourceDecoder* decoder)
    257 {
    258     m_decoder = decoder;
    259 }
    260 
    261256String DocumentWriter::deprecatedFrameEncoding() const
    262257{
  • trunk/Source/WebCore/loader/DocumentWriter.h

    r89715 r94800  
    6969    void setMIMEType(const String& type) { m_mimeType = type; }
    7070
    71     void setDecoder(TextResourceDecoder*);
    72 
    7371    // Exposed for DocumentParser::appendBytes.
    7472    TextResourceDecoder* createDecoderIfNeeded();
Note: See TracChangeset for help on using the changeset viewer.