Index: public/platform/WebString.h |
diff --git a/public/platform/WebString.h b/public/platform/WebString.h |
index 7d607d77d708a5b0b1147aa02de8af091bc38826..61f3631864ce4c8204cc7a2fd2c46da6c973e538 100644 |
--- a/public/platform/WebString.h |
+++ b/public/platform/WebString.h |
@@ -33,6 +33,7 @@ |
#include "WebCommon.h" |
#include "WebPrivatePtr.h" |
+#include <string> |
#if INSIDE_WEBKIT |
#include <wtf/Forward.h> |
@@ -89,6 +90,7 @@ public: |
bool isNull() const { return m_private.isNull(); } |
BLINK_COMMON_EXPORT WebCString utf8() const; |
+ BLINK_COMMON_EXPORT std::string toUTF8String() const; |
darin (slow to review)
2013/07/24 23:16:51
This is sort of a new thing for us. There's a lot
abarth-chromium
2013/07/24 23:22:43
Yes. I suspect most (all?) the callers of WebStri
|
BLINK_COMMON_EXPORT static WebString fromUTF8(const char* data, size_t length); |
BLINK_COMMON_EXPORT static WebString fromUTF8(const char* data); |