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

Side by Side Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementSyncMicrotaskQueue.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, 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 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/CustomElementSyncMicrotaskQueue.h" 5 #include "core/dom/custom/V0CustomElementSyncMicrotaskQueue.h"
6 6
7 namespace blink { 7 namespace blink {
8 8
9 void CustomElementSyncMicrotaskQueue::enqueue(CustomElementMicrotaskStep* step) 9 void V0CustomElementSyncMicrotaskQueue::enqueue(V0CustomElementMicrotaskStep* st ep)
10 { 10 {
11 m_queue.append(step); 11 m_queue.append(step);
12 } 12 }
13 13
14 void CustomElementSyncMicrotaskQueue::doDispatch() 14 void V0CustomElementSyncMicrotaskQueue::doDispatch()
15 { 15 {
16 unsigned i; 16 unsigned i;
17 17
18 for (i = 0; i < m_queue.size(); ++i) { 18 for (i = 0; i < m_queue.size(); ++i) {
19 if (CustomElementMicrotaskStep::Processing == m_queue[i]->process()) 19 if (V0CustomElementMicrotaskStep::Processing == m_queue[i]->process())
20 break; 20 break;
21 } 21 }
22 22
23 m_queue.remove(0, i); 23 m_queue.remove(0, i);
24 } 24 }
25 25
26 } // namespace blink 26 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698