summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/cache_storage/cache_utils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/cache_storage/cache_utils.cc')
-rw-r--r--chromium/third_party/blink/renderer/modules/cache_storage/cache_utils.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chromium/third_party/blink/renderer/modules/cache_storage/cache_utils.cc b/chromium/third_party/blink/renderer/modules/cache_storage/cache_utils.cc
index f70202288b4..71add462f6d 100644
--- a/chromium/third_party/blink/renderer/modules/cache_storage/cache_utils.cc
+++ b/chromium/third_party/blink/renderer/modules/cache_storage/cache_utils.cc
@@ -24,12 +24,12 @@ Response* CreateEagerResponse(ScriptState* script_state,
*response);
DataPipeBytesConsumer::CompletionNotifier* completion_notifier = nullptr;
- fetch_data->ReplaceBodyStreamBuffer(MakeGarbageCollected<BodyStreamBuffer>(
+ fetch_data->ReplaceBodyStreamBuffer(BodyStreamBuffer::Create(
script_state,
MakeGarbageCollected<DataPipeBytesConsumer>(
context->GetTaskRunner(TaskType::kNetworking),
std::move(eager_response->pipe), &completion_notifier),
- nullptr /* AbortSignal */));
+ nullptr /* AbortSignal */, std::move(response->side_data_blob)));
// Create a BlobReaderClient in the provided list. This will track the
// completion of the eagerly read blob and propagate it to the given