| Index: third_party/WebKit/Source/wtf/text/StringImpl.h
|
| diff --git a/third_party/WebKit/Source/wtf/text/StringImpl.h b/third_party/WebKit/Source/wtf/text/StringImpl.h
|
| index 35e1602386137cb4e7aa8d8fa384ba14c91007eb..5681b234d3b9d8251b1f97cceba8f63211807751 100644
|
| --- a/third_party/WebKit/Source/wtf/text/StringImpl.h
|
| +++ b/third_party/WebKit/Source/wtf/text/StringImpl.h
|
| @@ -218,11 +218,6 @@ public:
|
| static PassRefPtr<StringImpl> createUninitialized(unsigned length, LChar*& data);
|
| static PassRefPtr<StringImpl> createUninitialized(unsigned length, UChar*& data);
|
|
|
| - // Reallocate the StringImpl. The originalString must be only owned by the
|
| - // PassRefPtr. Just like the input pointer of realloc(), the originalString
|
| - // can't be used after this function.
|
| - static PassRefPtr<StringImpl> reallocate(PassRefPtr<StringImpl> originalString, unsigned length);
|
| -
|
| // If this StringImpl has only one reference, we can truncate the string by
|
| // updating its m_length property without actually re-allocating its buffer.
|
| void truncateAssumingIsolated(unsigned length)
|
|
|