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 a1ec3addd7ba0400afab7d04d3e57e80f03b0d6b..8c027254a34c08e6555a9fbec923216187c3d0ed 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; |