| Index: Source/bindings/core/v8/SerializedScriptValue.cpp
|
| diff --git a/Source/bindings/core/v8/SerializedScriptValue.cpp b/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| index 1f44ef32f58bed0d6f5e4336b2eaa40ef272b6ae..1d99c5df9c655ff6aecca5ba169a27b3d82ec439 100644
|
| --- a/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| +++ b/Source/bindings/core/v8/SerializedScriptValue.cpp
|
| @@ -1282,7 +1282,7 @@ private:
|
| if (blob->hasBeenClosed())
|
| return handleError(DataCloneError, "A Blob object has been closed, and could therefore not be cloned.", next);
|
| int blobIndex = -1;
|
| - m_blobDataHandles.add(blob->uuid(), blob->blobDataHandle());
|
| + m_blobDataHandles.set(blob->uuid(), blob->blobDataHandle());
|
| if (appendBlobInfo(blob->uuid(), blob->type(), blob->size(), &blobIndex))
|
| m_writer.writeBlobIndex(blobIndex);
|
| else
|
| @@ -1309,7 +1309,7 @@ private:
|
| if (file->hasBeenClosed())
|
| return handleError(DataCloneError, "A File object has been closed, and could therefore not be cloned.", next);
|
| int blobIndex = -1;
|
| - m_blobDataHandles.add(file->uuid(), file->blobDataHandle());
|
| + m_blobDataHandles.set(file->uuid(), file->blobDataHandle());
|
| if (appendFileInfo(file, &blobIndex)) {
|
| ASSERT(blobIndex >= 0);
|
| m_writer.writeFileIndex(blobIndex);
|
| @@ -1331,7 +1331,7 @@ private:
|
| const File* file = fileList->item(i);
|
| if (file->hasBeenClosed())
|
| return handleError(DataCloneError, "A File object has been closed, and could therefore not be cloned.", next);
|
| - m_blobDataHandles.add(file->uuid(), file->blobDataHandle());
|
| + m_blobDataHandles.set(file->uuid(), file->blobDataHandle());
|
| if (appendFileInfo(file, &blobIndex)) {
|
| ASSERT(!i || blobIndex > 0);
|
| ASSERT(blobIndex >= 0);
|
|
|