Chromium Code Reviews| Index: Source/core/dom/Document.cpp |
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
| index 866bdeda65440203d03980fc24b8636800b622c3..d697680b5a2b6b17e9972f719eddf958191cf2bb 100644 |
| --- a/Source/core/dom/Document.cpp |
| +++ b/Source/core/dom/Document.cpp |
| @@ -182,6 +182,7 @@ |
| #include "core/svg/SVGTitleElement.h" |
| #include "core/svg/SVGUseElement.h" |
| #include "core/workers/SharedWorkerRepositoryClient.h" |
| +#include "core/xml/XMLHttpRequest.h" |
| #include "core/xml/XSLTProcessor.h" |
| #include "core/xml/parser/XMLDocumentParser.h" |
| #include "platform/DateComponents.h" |
| @@ -4693,6 +4694,9 @@ void Document::finishedParsing() |
| if (HTMLImportLoader* import = importLoader()) |
| import->didFinishParsing(); |
| + |
| + if (XMLHttpRequest* xhr = XMLHttpRequest::findInstancePendingDocumentParse(this)) |
| + xhr->didFinishParsingDocument(); |
|
abarth-chromium
2014/09/02 20:13:19
Can we make this into a generic client interface i
kouhei (in TOK)
2014/09/03 03:23:50
Got it. That makes more sense. Let me create a sep
kouhei (in TOK)
2014/09/09 22:14:40
Done. Rewrote the patch to use the DocumentParserC
|
| } |
| void Document::elementDataCacheClearTimerFired(Timer<Document>*) |