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

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

Issue 249563003: REGRESSION(r171966): Custom elements in async imports don't get upgrade. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/CustomElementMicrotaskDispatcher.cpp
diff --git a/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp b/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
index 524dcd0e9d26987ddaa884876dac3b352f17baa9..a9f4d62b4151cad86cf7c1f22cef313743956b87 100644
--- a/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
+++ b/Source/core/dom/custom/CustomElementMicrotaskDispatcher.cpp
@@ -95,4 +95,16 @@ void CustomElementMicrotaskDispatcher::doDispatch()
m_phase = Quiescent;
}
+#if !defined(NDEBUG)
+void CustomElementMicrotaskDispatcher::show()
+{
+ m_resolutionAndImports->show(0);
+}
+
+void showCEMQ()
+{
+ CustomElementMicrotaskDispatcher::instance().show();
+}
+#endif
+
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698