| Index: Source/wtf/text/WTFString.cpp
|
| diff --git a/Source/wtf/text/WTFString.cpp b/Source/wtf/text/WTFString.cpp
|
| index 1ae107ea6aebee860a7c1c814357bcd5ed5fd4ef..a38dbddf50a4026a826c38a11f957b950ab10689 100644
|
| --- a/Source/wtf/text/WTFString.cpp
|
| +++ b/Source/wtf/text/WTFString.cpp
|
| @@ -435,6 +435,13 @@ bool String::percentage(int& result) const
|
| return true;
|
| }
|
|
|
| +String String::toScalarValueString() const
|
| +{
|
| + if (!m_impl)
|
| + return String();
|
| + return m_impl->replaceUnpairedSurrogates();
|
| +}
|
| +
|
| Vector<UChar> String::charactersWithNullTermination() const
|
| {
|
| if (!m_impl)
|
|
|