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 d99ef016ddbc9e8e2a939bba8b06591d1b362054..857d9741448edd00f234ff7b6f57c549463420d3 100644 |
--- a/third_party/WebKit/Source/modules/fetch/ResponseTest.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/ResponseTest.cpp |
@@ -9,7 +9,6 @@ |
#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" |
@@ -219,7 +218,7 @@ BodyStreamBuffer* CreateHelloWorldBuffer(ScriptState* script_state) { |
using Command = BytesConsumerTestUtil::Command; |
BytesConsumerTestUtil::ReplayingBytesConsumer* src = |
new BytesConsumerTestUtil::ReplayingBytesConsumer( |
- ExecutionContext::From(script_state)); |
+ script_state->GetExecutionContext()); |
src->Add(Command(Command::kData, "Hello, ")); |
src->Add(Command(Command::kData, "world")); |
src->Add(Command(Command::kDone)); |