| Index: Source/wtf/text/WTFString.h
|
| diff --git a/Source/wtf/text/WTFString.h b/Source/wtf/text/WTFString.h
|
| index 1ef9f8793a57a234f91c60ee8928f9cdf2391641..f06fe127643d35a7d7b4cca0b8ece3eca9b03ac0 100644
|
| --- a/Source/wtf/text/WTFString.h
|
| +++ b/Source/wtf/text/WTFString.h
|
| @@ -92,8 +92,7 @@ public:
|
| // Construct a string with UTF-16 data.
|
| String(const UChar* characters, unsigned length);
|
|
|
| - // Construct a string by copying the contents of a vector. To avoid
|
| - // copying, consider using String::adopt instead.
|
| + // Construct a string by copying the contents of a vector.
|
| // This method will never create a null string. Vectors with size() == 0
|
| // will return the empty string.
|
| // NOTE: This is different from String(vector.data(), vector.size())
|
| @@ -150,9 +149,6 @@ public:
|
| return String(buffer.release());
|
| }
|
|
|
| - template<typename CharType, size_t inlineCapacity>
|
| - static String adopt(Vector<CharType, inlineCapacity>& vector) { return StringImpl::adopt(vector); }
|
| -
|
| bool isNull() const { return !m_impl; }
|
| bool isEmpty() const { return !m_impl || !m_impl->length(); }
|
|
|
|
|