summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/dom/XMLDocumentParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/XMLDocumentParser.cpp')
-rw-r--r--Source/WebCore/dom/XMLDocumentParser.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/WebCore/dom/XMLDocumentParser.cpp b/Source/WebCore/dom/XMLDocumentParser.cpp
index 68c8dd9..a5d3c08 100644
--- a/Source/WebCore/dom/XMLDocumentParser.cpp
+++ b/Source/WebCore/dom/XMLDocumentParser.cpp
@@ -116,13 +116,9 @@ void XMLDocumentParser::clearCurrentNodeStack()
}
}
-void XMLDocumentParser::insert(const SegmentedString& source)
+void XMLDocumentParser::insert(const SegmentedString&)
{
- // FIXME: This is a hack to work around the fact that XMLHttpRequest
- // responseXML() calls Document::write() which in turn calls insert(). In
- // HTML, that's correct, as insert() implies a synchronous parse. For XML,
- // all parsing is synchronous but document.write shouldn't be supported.
- append(source);
+ ASSERT_NOT_REACHED();
}
void XMLDocumentParser::append(const SegmentedString& s)