-
ap@webkit.org authored
Reviewed by Darin. http://bugs.webkit.org/show_bug.cgi?id=17106 <rdar://problem/5750722> Debug build ASSERTs on page load Test: fast/encoding/GBK/close-gbk-converter.html * platform/text/TextCodecICU.cpp: (WebCore::getGbkEscape): Changed to use a switch instead of a HashMap, as there are only four values. (WebCore::gbkCallbackEscape): Check the reason why the function is called, and do not attempt getting an escape character if it's not UCNV_UNASSIGNED. (WebCore::gbkCallbackSubstitute): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
a2fef130