Index: third_party/WebKit/Source/modules/fetch/ResponseTest.cpp |
diff --git a/third_party/WebKit/Source/modules/fetch/ResponseTest.cpp b/third_party/WebKit/Source/modules/fetch/ResponseTest.cpp |
index 857d9741448edd00f234ff7b6f57c549463420d3..d99ef016ddbc9e8e2a939bba8b06591d1b362054 100644 |
--- a/third_party/WebKit/Source/modules/fetch/ResponseTest.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/ResponseTest.cpp |
@@ -9,6 +9,7 @@ |
#include "bindings/core/v8/ScriptState.h" |
#include "bindings/core/v8/V8BindingForTesting.h" |
#include "core/dom/Document.h" |
+#include "core/dom/ExecutionContext.h" |
#include "core/frame/Frame.h" |
#include "core/testing/DummyPageHolder.h" |
#include "modules/fetch/BodyStreamBuffer.h" |
@@ -218,7 +219,7 @@ |
using Command = BytesConsumerTestUtil::Command; |
BytesConsumerTestUtil::ReplayingBytesConsumer* src = |
new BytesConsumerTestUtil::ReplayingBytesConsumer( |
- script_state->GetExecutionContext()); |
+ ExecutionContext::From(script_state)); |
src->Add(Command(Command::kData, "Hello, ")); |
src->Add(Command(Command::kData, "world")); |
src->Add(Command(Command::kDone)); |