Cleanup TextEncoding USE(XXX_UNICODE) macros
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Jul 2012 14:50:10 +0000 (14:50 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 21 Jul 2012 14:50:10 +0000 (14:50 +0000)
commit8efd322fb5c6ed1278f67d33205bca7045563c6a
tree29d559b4da4e46841a556c6d1095791fbff89d98
parentde6a0909a9f45fc01bd4dc6521bd7d3c97b1eb23
Cleanup TextEncoding USE(XXX_UNICODE) macros
https://bugs.webkit.org/show_bug.cgi?id=91923

Reviewed by Andreas Kling.

Replace PLATFORM(QT) with USE(QT4_UNICODE) and OS(WINCE) with USE(WINCE_UNICODE).
This gives us more flexibility in choosing the unicode backend for a port.

* platform/text/TextEncoding.cpp:
(WebCore::TextEncoding::encode):
* platform/text/TextEncodingRegistry.cpp:
(WebCore::extendTextCodecMaps):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/text/TextEncoding.cpp
Source/WebCore/platform/text/TextEncodingRegistry.cpp