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

Side by Side Diff: third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskQueueBase.cpp

Issue 1914923002: Rename all existing custom element classes as V0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CustomElementV0 -> V0CustomElement Created 4 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "core/dom/custom/CustomElementMicrotaskQueueBase.h"
6
7 #include "core/dom/custom/CustomElementProcessingStack.h"
8
9 namespace blink {
10
11 void CustomElementMicrotaskQueueBase::dispatch()
12 {
13 RELEASE_ASSERT(!m_inDispatch);
14 m_inDispatch = true;
15 doDispatch();
16 m_inDispatch = false;
17 }
18
19 DEFINE_TRACE(CustomElementMicrotaskQueueBase)
20 {
21 visitor->trace(m_queue);
22 }
23
24 #if !defined(NDEBUG)
25 void CustomElementMicrotaskQueueBase::show(unsigned indent)
26 {
27 for (unsigned q = 0; q < m_queue.size(); ++q) {
28 if (m_queue[q])
29 m_queue[q]->show(indent);
30 else
31 fprintf(stderr, "%*snull\n", indent, "");
32 }
33 }
34 #endif
35
36 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698