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

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

Issue 1818233003: Merge WTF::initializeMainThread into WTF::initialize (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
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 "core/dom/custom/CustomElementMicrotaskDispatcher.h" 5 #include "core/dom/custom/CustomElementMicrotaskDispatcher.h"
6 6
7 #include "bindings/core/v8/Microtask.h" 7 #include "bindings/core/v8/Microtask.h"
8 #include "core/dom/custom/CustomElementCallbackQueue.h" 8 #include "core/dom/custom/CustomElementCallbackQueue.h"
9 #include "core/dom/custom/CustomElementMicrotaskImportStep.h" 9 #include "core/dom/custom/CustomElementMicrotaskImportStep.h"
10 #include "core/dom/custom/CustomElementProcessingStack.h" 10 #include "core/dom/custom/CustomElementProcessingStack.h"
11 #include "core/dom/custom/CustomElementScheduler.h" 11 #include "core/dom/custom/CustomElementScheduler.h"
12 #include "wtf/MainThread.h"
13 12
14 namespace blink { 13 namespace blink {
15 14
16 static const CustomElementCallbackQueue::ElementQueueId kMicrotaskQueueId = 0; 15 static const CustomElementCallbackQueue::ElementQueueId kMicrotaskQueueId = 0;
17 16
18 CustomElementMicrotaskDispatcher::CustomElementMicrotaskDispatcher() 17 CustomElementMicrotaskDispatcher::CustomElementMicrotaskDispatcher()
19 : m_hasScheduledMicrotask(false) 18 : m_hasScheduledMicrotask(false)
20 , m_phase(Quiescent) 19 , m_phase(Quiescent)
21 { 20 {
22 } 21 }
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 } 81 }
83 82
84 DEFINE_TRACE(CustomElementMicrotaskDispatcher) 83 DEFINE_TRACE(CustomElementMicrotaskDispatcher)
85 { 84 {
86 #if ENABLE(OILPAN) 85 #if ENABLE(OILPAN)
87 visitor->trace(m_elements); 86 visitor->trace(m_elements);
88 #endif 87 #endif
89 } 88 }
90 89
91 } // namespace blink 90 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698