Changeset 73860 in webkit


Ignore:
Timestamp:
Dec 11, 2010 10:20:52 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-12-11 Joone Hur <joone@kldp.org>

Reviewed by Alexey Proskuryakov.

enumeration value ‘ResponseTypeArrayBuffer’ not handled in switch
https://bugs.webkit.org/show_bug.cgi?id=50871

Fix the warning which occurs when enumeration value is not handled in switch.

No new tests, no change in behavior.

  • bindings/js/JSXMLHttpRequestCustom.cpp: (WebCore::JSXMLHttpRequest::response):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r73853 r73860  
     12010-12-11  Joone Hur  <joone@kldp.org>
     2
     3        Reviewed by Alexey Proskuryakov.
     4
     5        enumeration value ‘ResponseTypeArrayBuffer’ not handled in switch
     6        https://bugs.webkit.org/show_bug.cgi?id=50871
     7
     8        Fix the warning which occurs when enumeration value is not handled in switch.
     9
     10        No new tests, no change in behavior.
     11
     12        * bindings/js/JSXMLHttpRequestCustom.cpp:
     13        (WebCore::JSXMLHttpRequest::response):
     14
    1152010-12-11  Patrick Gansterer  <paroga@webkit.org>
    216
  • trunk/WebCore/bindings/js/JSXMLHttpRequestCustom.cpp

    r72866 r73860  
    189189#endif
    190190
     191    case XMLHttpRequest::ResponseTypeArrayBuffer:
    191192#if ENABLE(3D_CANVAS) || ENABLE(BLOB)
    192     case XMLHttpRequest::ResponseTypeArrayBuffer:
    193193        {
    194194            ExceptionCode ec = 0;
     
    200200            return toJS(exec, globalObject(), arrayBuffer);
    201201        }
     202#else
     203        return jsUndefined();
    202204#endif
    203205    }
Note: See TracChangeset for help on using the changeset viewer.