| 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 2eb441bd799dc3e83ee6aece72e857084d4250ef..e2fb56e4bcb260d97bb01d448e75503b21fada26 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/Body.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/Body.cpp
|
| @@ -11,6 +11,7 @@
|
| #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"
|
| @@ -119,7 +120,7 @@
|
| // 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 (!script_state->GetExecutionContext())
|
| + if (!ExecutionContext::From(script_state))
|
| return ScriptPromise();
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::Create(script_state);
|
| @@ -139,7 +140,7 @@
|
| return promise;
|
|
|
| // See above comment.
|
| - if (!script_state->GetExecutionContext())
|
| + if (!ExecutionContext::From(script_state))
|
| return ScriptPromise();
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::Create(script_state);
|
| @@ -163,7 +164,7 @@
|
| return promise;
|
|
|
| // See above comment.
|
| - if (!script_state->GetExecutionContext())
|
| + if (!ExecutionContext::From(script_state))
|
| return ScriptPromise();
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::Create(script_state);
|
| @@ -184,7 +185,7 @@
|
| return promise;
|
|
|
| // See above comment.
|
| - if (!script_state->GetExecutionContext())
|
| + if (!ExecutionContext::From(script_state))
|
| return ScriptPromise();
|
|
|
| ScriptPromiseResolver* resolver = ScriptPromiseResolver::Create(script_state);
|
|
|