Index: Source/core/inspector/DOMPatchSupport.cpp |
diff --git a/Source/core/inspector/DOMPatchSupport.cpp b/Source/core/inspector/DOMPatchSupport.cpp |
index 4d867fb93ace14a7a1aaf63b4c5c102ad54ccabd..f227473554d7f706941381336bc5bda4ddc89373 100644 |
--- a/Source/core/inspector/DOMPatchSupport.cpp |
+++ b/Source/core/inspector/DOMPatchSupport.cpp |
@@ -97,7 +97,7 @@ void DOMPatchSupport::patchDocument(const String& markup) |
if (m_document.isHTMLDocument()) |
parser = HTMLDocumentParser::create(toHTMLDocument(newDocument.get()), false); |
else |
- parser = XMLDocumentParser::create(newDocument.get(), 0); |
+ parser = XMLDocumentParser::create(*newDocument.get(), 0); |
Inactive
2014/05/08 19:45:42
nit: drop the '.get()'
maheshkk
2014/05/08 20:02:32
Done.
|
parser->insert(markup); // Use insert() so that the parser will not yield. |
parser->finish(); |
parser->detach(); |