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

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

Issue 297863004: Merge 174141 "HTML Imports: Take care of cycles according to the..." (Closed) Base URL: svn://svn.chromium.org/blink/branches/chromium/1985/
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
===================================================================
--- Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp (revision 174593)
+++ Source/core/dom/custom/CustomElementMicrotaskImportStep.cpp (working copy)
@@ -55,6 +55,12 @@
{
}
+void CustomElementMicrotaskImportStep::parentWasChanged()
+{
+ m_queue = CustomElementMicrotaskQueue::create();
+ m_import.clear();
+}
+
bool CustomElementMicrotaskImportStep::shouldWaitForImport() const
{
return m_import && !m_import->isLoaded();
« no previous file with comments | « Source/core/dom/custom/CustomElementMicrotaskImportStep.h ('k') | Source/core/html/imports/HTMLImportChild.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698