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

Unified Diff: Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp

Issue 272243004: HTML Imports: Fix race conditions on HTMLImportsChild (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 months 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/dom/custom/CustomElementMicrotaskImportStep.cpp
diff --git a/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp b/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp
index e8fccfcc7b506c4d540ad31e8277df03a22b0a1d..99f37c9c6b96ac8f9ef0da144f90b73da7c1309c 100644
--- a/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp
+++ b/Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp
@@ -85,6 +85,11 @@ CustomElementMicrotaskStep::Result CustomElementMicrotaskImportStep::process()
return result;
}
+bool CustomElementMicrotaskImportStep::needsProcessOrStop() const
+{
+ return shouldStopProcessing() || m_queue->needsProcessOrStop();
+}
+
#if !defined(NDEBUG)
void CustomElementMicrotaskImportStep::show(unsigned indent)
{

Powered by Google App Engine
This is Rietveld 408576698