Index: Source/core/loader/DocumentWriter.cpp |
diff --git a/Source/core/loader/DocumentWriter.cpp b/Source/core/loader/DocumentWriter.cpp |
index 8294fbd0627fe9e4c5f77f4da7196909754f66d4..349da64347ded3268f402dc5d62b537631d6ea44 100644 |
--- a/Source/core/loader/DocumentWriter.cpp |
+++ b/Source/core/loader/DocumentWriter.cpp |
@@ -31,7 +31,7 @@ |
#include "core/dom/Document.h" |
#include "core/dom/ScriptableDocumentParser.h" |
-#include "core/html/parser/TextResourceDecoder.h" |
+#include "core/fetch/TextResourceDecoder.h" |
#include "core/loader/FrameLoader.h" |
#include "core/loader/FrameLoaderStateMachine.h" |
#include "core/frame/DOMWindow.h" |
@@ -78,6 +78,7 @@ void DocumentWriter::appendReplacingData(const String& source) |
// Because we're pinned to the main thread we don't need to worry about |
// passing ownership of the source string. |
parser->append(source.impl()); |
+ parser->setHasAppendedData(); |
} |
} |