summaryrefslogtreecommitdiffstats
path: root/WebCore/dom/DocumentFragment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/dom/DocumentFragment.cpp')
-rw-r--r--WebCore/dom/DocumentFragment.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/WebCore/dom/DocumentFragment.cpp b/WebCore/dom/DocumentFragment.cpp
index 47485b7..70e57b9 100644
--- a/WebCore/dom/DocumentFragment.cpp
+++ b/WebCore/dom/DocumentFragment.cpp
@@ -25,7 +25,6 @@
#include "Document.h"
#include "HTMLDocumentParser.h"
-#include "LegacyHTMLDocumentParser.h"
#include "Page.h"
#include "Settings.h"
#include "XMLDocumentParser.h"
@@ -84,8 +83,6 @@ bool DocumentFragment::shouldUseLegacyHTMLParser() const
void DocumentFragment::parseHTML(const String& source, Element* contextElement, FragmentScriptingPermission scriptingPermission)
{
- if (shouldUseLegacyHTMLParser())
- return LegacyHTMLDocumentParser::parseDocumentFragment(source, this, scriptingPermission);
HTMLDocumentParser::parseDocumentFragment(source, this, contextElement, scriptingPermission);
}