| Index: third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| index 89b751538085166dd2f2f59339d20e06ed896149..6a4fb950adc483ec9953fdcde644b081ff27d3bb 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
|
| @@ -1311,7 +1311,7 @@ Response InspectorNetworkAgent::replayXHR(const String& requestId) {
|
| return Response::Error("Given id does not correspond to XHR");
|
|
|
| ExecutionContext* executionContext = xhrReplayData->getExecutionContext();
|
| - if (!executionContext) {
|
| + if (executionContext->isContextDestroyed()) {
|
| m_resourcesData->setXHRReplayData(requestId, 0);
|
| return Response::Error("Document is already detached");
|
| }
|
|
|