Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(795)

Unified Diff: Source/core/inspector/DOMPatchSupport.cpp

Issue 779393002: Turn DocumentParser::pinToMainThread into a cleaner api (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();

Powered by Google App Engine
This is Rietveld 408576698