Index: Source/bindings/v8/SerializedScriptValue.cpp |
diff --git a/Source/bindings/v8/SerializedScriptValue.cpp b/Source/bindings/v8/SerializedScriptValue.cpp |
index 7ba4d063bdfb5e93dbe21c6c30027b27f57fe2d4..2b6d3d92c16de11919a0bd97ac0998d30d97530d 100644 |
--- a/Source/bindings/v8/SerializedScriptValue.cpp |
+++ b/Source/bindings/v8/SerializedScriptValue.cpp |
@@ -2922,7 +2922,9 @@ PassOwnPtr<SerializedScriptValue::ArrayBufferContentsArray> SerializedScriptValu |
return nullptr; |
} |
- neuterArrayBufferInAllWorlds(arrayBuffers[i].get()); |
+ if (!arrayBuffers[i]->isShared()) { |
+ neuterArrayBufferInAllWorlds(arrayBuffers[i].get()); |
+ } |
} |
return contents.release(); |
} |