| Index: third_party/WebKit/Source/modules/fetch/Body.cpp
|
| diff --git a/third_party/WebKit/Source/modules/fetch/Body.cpp b/third_party/WebKit/Source/modules/fetch/Body.cpp
|
| index e2fb56e4bcb260d97bb01d448e75503b21fada26..2eb441bd799dc3e83ee6aece72e857084d4250ef 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/Body.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/Body.cpp
|
| @@ -11,7 +11,6 @@
|
| #include "bindings/core/v8/V8ThrowException.h"
|
| #include "core/dom/DOMArrayBuffer.h"
|
| #include "core/dom/DOMTypedArray.h"
|
| -#include "core/dom/ExecutionContext.h"
|
| #include "core/fileapi/Blob.h"
|
| #include "modules/fetch/BodyStreamBuffer.h"
|
| #include "modules/fetch/FetchDataLoader.h"
|
| @@ -120,7 +119,7 @@ ScriptPromise Body::arrayBuffer(ScriptState* script_state) {
|
| // first check the ExecutionContext and return immediately if it's already
|
| // gone (which means that the V8::TerminateExecution() signal has been sent
|
| // to this worker thread).
|
| - if (!ExecutionContext::From(script_state))
|
| + if (!script_state->GetExecutionContext())
|
| return ScriptPromise();
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::Create(script_state);
|
| @@ -140,7 +139,7 @@ ScriptPromise Body::blob(ScriptState* script_state) {
|
| return promise;
|
|
|
| // See above comment.
|
| - if (!ExecutionContext::From(script_state))
|
| + if (!script_state->GetExecutionContext())
|
| return ScriptPromise();
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::Create(script_state);
|
| @@ -164,7 +163,7 @@ ScriptPromise Body::json(ScriptState* script_state) {
|
| return promise;
|
|
|
| // See above comment.
|
| - if (!ExecutionContext::From(script_state))
|
| + if (!script_state->GetExecutionContext())
|
| return ScriptPromise();
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::Create(script_state);
|
| @@ -185,7 +184,7 @@ ScriptPromise Body::text(ScriptState* script_state) {
|
| return promise;
|
|
|
| // See above comment.
|
| - if (!ExecutionContext::From(script_state))
|
| + if (!script_state->GetExecutionContext())
|
| return ScriptPromise();
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::Create(script_state);
|
|
|