Index: third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
diff --git a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
index 91265c497dcdf67043a875ed3493730855b30e50..35e6fb0b540ff82c1bb76ee78210ec38b71d3669 100644 |
--- a/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
+++ b/third_party/WebKit/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
@@ -1638,7 +1638,7 @@ void XMLHttpRequest::NotifyParserStopped() { |
ClearVariablesForLoading(); |
- response_document_->ImplicitClose(); |
+ response_document_->CheckCompleted(); |
if (!response_document_->WellFormed()) |
response_document_ = nullptr; |