| 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 ad7a829596abd4d44f99318530c6653bcc50f67f..e77c139806c634b38f3d96adbeb7239c590eb172 100644
|
| --- a/third_party/WebKit/Source/modules/fetch/Body.cpp
|
| +++ b/third_party/WebKit/Source/modules/fetch/Body.cpp
|
| @@ -93,7 +93,7 @@ class BodyJsonConsumer final : public BodyConsumerBase {
|
|
|
| void didFetchDataLoadedString(const String& string) override {
|
| if (!resolver()->getExecutionContext() ||
|
| - resolver()->getExecutionContext()->activeDOMObjectsAreStopped())
|
| + resolver()->getExecutionContext()->isContextDestroyed())
|
| return;
|
| ScriptState::Scope scope(resolver()->getScriptState());
|
| v8::Isolate* isolate = resolver()->getScriptState()->isolate();
|
| @@ -217,8 +217,7 @@ bool Body::isBodyLocked() {
|
| }
|
|
|
| bool Body::hasPendingActivity() const {
|
| - if (!getExecutionContext() ||
|
| - getExecutionContext()->activeDOMObjectsAreStopped())
|
| + if (!getExecutionContext() || getExecutionContext()->isContextDestroyed())
|
| return false;
|
| if (!bodyBuffer())
|
| return false;
|
|
|