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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 16 matching lines...) Expand all
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "core/dom/custom/CustomElementCallbackQueue.h" 31 #include "core/dom/custom/CustomElementCallbackQueue.h"
32 32
33 #include "core/dom/shadow/ShadowRoot.h" 33 #include "core/dom/shadow/ShadowRoot.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 PassOwnPtrWillBeRawPtr<CustomElementCallbackQueue> CustomElementCallbackQueue::c reate(PassRefPtrWillBeRawPtr<Element> element) 37 RawPtr<CustomElementCallbackQueue> CustomElementCallbackQueue::create(RawPtr<Ele ment> element)
38 { 38 {
39 return adoptPtrWillBeNoop(new CustomElementCallbackQueue(element)); 39 return new CustomElementCallbackQueue(element);
40 } 40 }
41 41
42 CustomElementCallbackQueue::CustomElementCallbackQueue(PassRefPtrWillBeRawPtr<El ement> element) 42 CustomElementCallbackQueue::CustomElementCallbackQueue(RawPtr<Element> element)
43 : m_element(element) 43 : m_element(element)
44 , m_owner(-1) 44 , m_owner(-1)
45 , m_index(0) 45 , m_index(0)
46 , m_inCreatedCallback(false) 46 , m_inCreatedCallback(false)
47 { 47 {
48 } 48 }
49 49
50 bool CustomElementCallbackQueue::processInElementQueue(ElementQueueId caller) 50 bool CustomElementCallbackQueue::processInElementQueue(ElementQueueId caller)
51 { 51 {
52 ASSERT(!m_inCreatedCallback); 52 ASSERT(!m_inCreatedCallback);
(...skipping 25 matching lines...) Expand all
78 return didWork; 78 return didWork;
79 } 79 }
80 80
81 DEFINE_TRACE(CustomElementCallbackQueue) 81 DEFINE_TRACE(CustomElementCallbackQueue)
82 { 82 {
83 visitor->trace(m_element); 83 visitor->trace(m_element);
84 visitor->trace(m_queue); 84 visitor->trace(m_queue);
85 } 85 }
86 86
87 } // namespace blink 87 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698