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 7f2cb18cbafe7ff1d3c8170b46aff70667408884..4a2f4c01b10cf37ccc0d469af0fd60b80f50ccac 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; |