mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 819791 - Part 6: Remove unnecessary TArray copies in dom/indexedDB. r=bent
This commit is contained in:
parent
b96798e203
commit
177343bcf8
@ -1668,7 +1668,7 @@ GetAllHelper::UnpackResponseFromParentProcess(
|
||||
|
||||
for (uint32_t index = 0; index < cloneInfos.Length(); index++) {
|
||||
const SerializedStructuredCloneReadInfo srcInfo = cloneInfos[index];
|
||||
const InfallibleTArray<PBlobChild*> blobs = blobArrays[index].blobsChild();
|
||||
const InfallibleTArray<PBlobChild*>& blobs = blobArrays[index].blobsChild();
|
||||
|
||||
StructuredCloneReadInfo* destInfo = mCloneReadInfos.AppendElement();
|
||||
if (!destInfo->SetFromSerialized(srcInfo)) {
|
||||
|
@ -3907,7 +3907,7 @@ GetAllHelper::UnpackResponseFromParentProcess(
|
||||
|
||||
for (uint32_t index = 0; index < cloneInfos.Length(); index++) {
|
||||
const SerializedStructuredCloneReadInfo srcInfo = cloneInfos[index];
|
||||
const InfallibleTArray<PBlobChild*> blobs = blobArrays[index].blobsChild();
|
||||
const InfallibleTArray<PBlobChild*>& blobs = blobArrays[index].blobsChild();
|
||||
|
||||
StructuredCloneReadInfo* destInfo = mCloneReadInfos.AppendElement();
|
||||
if (!destInfo->SetFromSerialized(srcInfo)) {
|
||||
|
Loading…
Reference in New Issue
Block a user