Index: third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
index 71687d44bf140593c721fa0db4503c36524f6cad..6e415324d38b1336a661443afb9436f33c4a32f1 100644 |
--- a/third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/FetchManager.cpp |
@@ -11,6 +11,7 @@ |
#include "bindings/core/v8/V8ThrowException.h" |
#include "core/dom/DOMArrayBuffer.h" |
#include "core/dom/Document.h" |
+#include "core/dom/ExecutionContext.h" |
#include "core/fileapi/Blob.h" |
#include "core/frame/Frame.h" |
#include "core/frame/SubresourceIntegrity.h" |
@@ -425,7 +426,7 @@ |
response_data = FetchResponseData::CreateWithBuffer(new BodyStreamBuffer( |
script_state, |
new BytesConsumerForDataConsumerHandle( |
- script_state->GetExecutionContext(), std::move(handle)))); |
+ ExecutionContext::From(script_state), std::move(handle)))); |
} else { |
sri_consumer = new SRIBytesConsumer(); |
response_data = FetchResponseData::CreateWithBuffer( |