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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "core/dom/custom/CustomElementMicrotaskDispatcher.h" 6 #include "core/dom/custom/CustomElementMicrotaskDispatcher.h"
7 7
8 #include "core/dom/Microtask.h" 8 #include "core/dom/Microtask.h"
9 #include "core/dom/custom/CustomElementCallbackDispatcher.h" 9 #include "core/dom/custom/CustomElementCallbackDispatcher.h"
10 #include "core/dom/custom/CustomElementCallbackQueue.h" 10 #include "core/dom/custom/CustomElementCallbackQueue.h"
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 } 91 }
92 92
93 m_elements.clear(); 93 m_elements.clear();
94 CustomElementScheduler::microtaskDispatcherDidFinish(); 94 CustomElementScheduler::microtaskDispatcherDidFinish();
95 m_phase = Quiescent; 95 m_phase = Quiescent;
96 } 96 }
97 97
98 #if !defined(NDEBUG) 98 #if !defined(NDEBUG)
99 void CustomElementMicrotaskDispatcher::show() 99 void CustomElementMicrotaskDispatcher::show()
100 { 100 {
101 m_resolutionAndImports->show(0); 101 fprintf(stderr, "Dispatcher:\n");
102 m_resolutionAndImports->show(1);
102 } 103 }
103 #endif 104 #endif
104 105
105 } // namespace WebCore 106 } // namespace WebCore
106 107
107 #if !defined(NDEBUG) 108 #if !defined(NDEBUG)
108 void showCEMD() 109 void showCEMD()
109 { 110 {
110 WebCore::CustomElementMicrotaskDispatcher::instance().show(); 111 WebCore::CustomElementMicrotaskDispatcher::instance().show();
111 } 112 }
112 #endif 113 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698