| Index: Source/bindings/core/v8/SerializedScriptValue.cpp
|
| diff --git a/Source/bindings/core/v8/SerializedScriptValue.cpp b/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| index d5cc1368b1d0a47a6d94f6b9b0f5076f008a8233..bc1e32f4a090fdb4f9d5092eab00f52cbc79609f 100644
|
| --- a/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| +++ b/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| @@ -238,6 +238,11 @@ void SerializedScriptValue::registerMemoryAllocatedWithCurrentScriptContext()
|
| v8::Isolate::GetCurrent()->AdjustAmountOfExternalAllocatedMemory(m_externallyAllocatedMemory);
|
| }
|
|
|
| +bool SerializedScriptValue::containsTransferableArrayBuffer() const
|
| +{
|
| + return m_arrayBufferContentsArray && !m_arrayBufferContentsArray->isEmpty();
|
| +}
|
| +
|
| SerializedScriptValue::~SerializedScriptValue()
|
| {
|
| // If the allocated memory was not registered before, then this class is likely
|
|
|