Index: WebCore/html/parser/HTMLTreeBuilder.cpp |
=================================================================== |
--- WebCore/html/parser/HTMLTreeBuilder.cpp (revision 67731) |
+++ WebCore/html/parser/HTMLTreeBuilder.cpp (working copy) |
@@ -413,7 +413,7 @@ |
} |
HTMLTreeBuilder::FragmentParsingContext::FragmentParsingContext(DocumentFragment* fragment, Element* contextElement, FragmentScriptingPermission scriptingPermission) |
- : m_dummyDocumentForFragmentParsing(HTMLDocument::create(0, KURL())) |
+ : m_dummyDocumentForFragmentParsing(HTMLDocument::create(0, KURL(), fragment->document()->baseURI())) |
, m_fragment(fragment) |
, m_contextElement(contextElement) |
, m_scriptingPermission(scriptingPermission) |