diff options
Diffstat (limited to 'WebCore/platform/text/TextEncoding.h')
-rw-r--r-- | WebCore/platform/text/TextEncoding.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/WebCore/platform/text/TextEncoding.h b/WebCore/platform/text/TextEncoding.h index 3429bb5..675625b 100644 --- a/WebCore/platform/text/TextEncoding.h +++ b/WebCore/platform/text/TextEncoding.h @@ -27,17 +27,11 @@ #define TextEncoding_h #include "TextCodec.h" +#include <wtf/Forward.h> #include <wtf/unicode/Unicode.h> -namespace WTF { -class CString; -} -using WTF::CString; - namespace WebCore { - class String; - class TextEncoding { public: TextEncoding() : m_name(0) { } @@ -75,7 +69,7 @@ namespace WebCore { return decode(str, length, false, ignored); } String decode(const char*, size_t length, bool stopOnError, bool& sawError) const; - WTF::CString encode(const UChar*, size_t length, UnencodableHandling) const; + CString encode(const UChar*, size_t length, UnencodableHandling) const; UChar backslashAsCurrencySymbol() const; |