summaryrefslogtreecommitdiffstats
path: root/webkit/api/public/WebString.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/api/public/WebString.h')
-rw-r--r--webkit/api/public/WebString.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/webkit/api/public/WebString.h b/webkit/api/public/WebString.h
index 8eee441..bf59854 100644
--- a/webkit/api/public/WebString.h
+++ b/webkit/api/public/WebString.h
@@ -40,7 +40,7 @@ namespace WebCore { class String; class AtomicString; }
#endif
namespace WebKit {
-
+ class WebCString;
class WebStringPrivate;
// A UTF-16 string container. It is inexpensive to copy a WebString
@@ -77,6 +77,8 @@ namespace WebKit {
bool isEmpty() const { return length() == 0; }
bool isNull() const { return m_private == 0; }
+ WEBKIT_API WebCString utf8() const;
+
WEBKIT_API static WebString fromUTF8(const char* data, size_t length);
WEBKIT_API static WebString fromUTF8(const char* data);