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 e23e91a5a9c58d55e2a2340e74e10b18f695ddc4..995ec34f736ff89737033dddb541a2bb87746123 100644 |
--- a/third_party/WebKit/Source/modules/fetch/Body.cpp |
+++ b/third_party/WebKit/Source/modules/fetch/Body.cpp |
@@ -211,7 +211,7 @@ |
bool Body::hasPendingActivity() const |
{ |
- if (getExecutionContext()->activeDOMObjectsAreStopped()) |
+ if (!getExecutionContext() || getExecutionContext()->activeDOMObjectsAreStopped()) |
return false; |
if (!bodyBuffer()) |
return false; |