| Index: third_party/WebKit/Source/wtf/text/WTFString.h
|
| diff --git a/third_party/WebKit/Source/wtf/text/WTFString.h b/third_party/WebKit/Source/wtf/text/WTFString.h
|
| index a646644807789a4219c8df81af1c953c470596f2..80508ad1b86b720eb05e0f32643c6f822b75d662 100644
|
| --- a/third_party/WebKit/Source/wtf/text/WTFString.h
|
| +++ b/third_party/WebKit/Source/wtf/text/WTFString.h
|
| @@ -104,7 +104,7 @@ class WTF_EXPORT String {
|
| template <typename CharType>
|
| static String adopt(StringBuffer<CharType>& buffer) {
|
| if (!buffer.length())
|
| - return StringImpl::empty();
|
| + return StringImpl::empty;
|
| return String(buffer.release());
|
| }
|
|
|
| @@ -489,7 +489,7 @@ inline void swap(String& a, String& b) {
|
| template <size_t inlineCapacity>
|
| String::String(const Vector<UChar, inlineCapacity>& vector)
|
| : m_impl(vector.size() ? StringImpl::create(vector.data(), vector.size())
|
| - : StringImpl::empty()) {}
|
| + : StringImpl::empty) {}
|
|
|
| template <>
|
| inline const LChar* String::getCharacters<LChar>() const {
|
|
|