Index: Source/core/inspector/DOMPatchSupport.cpp |
diff --git a/Source/core/inspector/DOMPatchSupport.cpp b/Source/core/inspector/DOMPatchSupport.cpp |
index 9ff59837de960c62edf96cd6a3481e017e9ee9e2..60e49c7d5a897ef47d8607d1a42a0209fc00f8c5 100644 |
--- a/Source/core/inspector/DOMPatchSupport.cpp |
+++ b/Source/core/inspector/DOMPatchSupport.cpp |
@@ -96,7 +96,6 @@ void DOMPatchSupport::patchDocument(const String& markup) |
newDocument->setContextFeatures(document().contextFeatures()); |
if (!document().isHTMLDocument()) { |
RefPtrWillBeRawPtr<DocumentParser> parser = XMLDocumentParser::create(*newDocument, nullptr); |
- parser->pinToMainThread(); |
parser->append(markup.impl()); |
parser->finish(); |
parser->detach(); |