| Index: third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.cpp b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| index 87116cda10a25f213fbe150663baee1defe7f8ad..a28bc4c1d646e05f7de2a0c1bf402506d622a4c2 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| @@ -145,6 +145,7 @@ String SerializedScriptValue::toWireString() const {
|
| size_t stringSizeBytes = (m_dataBufferSize + 1) & ~1;
|
| String wireString =
|
| String::createUninitialized(stringSizeBytes / 2, destination);
|
| + LOG(ERROR) << "wire string at " << ((void*)wireString.impl()) << ", buffer at " << ((void*)destination);
|
| memcpy(destination, m_dataBuffer.get(), m_dataBufferSize);
|
| if (stringSizeBytes > m_dataBufferSize)
|
| reinterpret_cast<char*>(destination)[stringSizeBytes - 1] = '\0';
|
|
|