Index: Source/wtf/text/WTFString.h |
diff --git a/Source/wtf/text/WTFString.h b/Source/wtf/text/WTFString.h |
index 13078127885b7c8233cbb1e20515fdbd60125df8..3e39e0d98ea5a99a203f08863e346fcde549566b 100644 |
--- a/Source/wtf/text/WTFString.h |
+++ b/Source/wtf/text/WTFString.h |
@@ -380,6 +380,11 @@ public: |
bool percentage(int& percentage) const; |
+ // Returns a string which is guaranteed to be composed of Unicode |
+ // scalar values, i.e. if the string is a 16-bit string, it is valid |
+ // UTF-16 containing no unpaired surrogates. |
+ String toScalarValueString() const; |
tkent
2014/06/16 07:51:16
WTF should not have such function. I think this s
jsbell
2014/06/17 21:39:50
Okie dokie - moved it directly into V8Bindings.cpp
|
+ |
String isolatedCopy() const; |
bool isSafeToSendToAnotherThread() const; |