2008-03-31 Julien Chaffraix <jchaffraix@webkit.org>
authorjchaffraix@webkit.org <jchaffraix@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Mar 2008 21:58:43 +0000 (21:58 +0000)
committerjchaffraix@webkit.org <jchaffraix@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 31 Mar 2008 21:58:43 +0000 (21:58 +0000)
commitc4d20fcbd608feb17eaa28f6846d0f401a2678ae
tree302d15d6d902b5083eb87cafbb4a35b90e111365
parent0be67cf9f6ec4d1b579a63d837e017c103082a8b
2008-03-31  Julien Chaffraix  <jchaffraix@webkit.org>

        Reviewed by Darin.

        Bug 18177: m_encoding is used twice in XMLHttpRequest
        http://bugs.webkit.org/show_bug.cgi?id=18177

        - Change XMLHttpRequest variable m_encoding to m_responseEncoding.

        - Change send local variable m_encoding to encoding.

        No test case (no functionnal change).

        * platform/network/ResourceResponseBase.h: Removed unused variable.
        * xml/XMLHttpRequest.cpp:
        (WebCore::XMLHttpRequest::send): Changed local m_encoding to encoding.
        (WebCore::XMLHttpRequest::didReceiveResponse): m_encoding -> m_responseEncoding.
        (WebCore::XMLHttpRequest::didReceiveData): Ditto.
        * xml/XMLHttpRequest.h: Change m_encoding to m_responseEncoding to disambiguate
        the name as it is only used for response.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@31483 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/network/ResourceResponseBase.h
WebCore/xml/XMLHttpRequest.cpp
WebCore/xml/XMLHttpRequest.h