| Index: third_party/WebKit/Source/wtf/text/StringImpl.cpp
|
| diff --git a/third_party/WebKit/Source/wtf/text/StringImpl.cpp b/third_party/WebKit/Source/wtf/text/StringImpl.cpp
|
| index f8b6b7b033bb9be1e02e8ffbe480421656638a98..6654e3040fbb556d50ee42fb0180e10a2a2e184a 100644
|
| --- a/third_party/WebKit/Source/wtf/text/StringImpl.cpp
|
| +++ b/third_party/WebKit/Source/wtf/text/StringImpl.cpp
|
| @@ -335,7 +335,7 @@ bool StringImpl::isSafeToSendToAnotherThread() const {
|
|
|
| #if DCHECK_IS_ON()
|
| std::string StringImpl::asciiForDebugging() const {
|
| - CString ascii = String(substring(0, 128)).ascii();
|
| + CString ascii = String(isolatedCopy()->substring(0, 128)).ascii();
|
| return std::string(ascii.data(), ascii.length());
|
| }
|
| #endif
|
|
|