| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "modules/serviceworkers/ServiceWorkerMessageEvent.h" | 6 #include "modules/serviceworkers/ServiceWorkerMessageEvent.h" |
| 7 | 7 |
| 8 namespace blink { | 8 namespace blink { |
| 9 | 9 |
| 10 ServiceWorkerMessageEvent::ServiceWorkerMessageEvent() | 10 ServiceWorkerMessageEvent::ServiceWorkerMessageEvent() |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 const AtomicString& ServiceWorkerMessageEvent::interfaceName() const | 73 const AtomicString& ServiceWorkerMessageEvent::interfaceName() const |
| 74 { | 74 { |
| 75 return EventNames::ServiceWorkerMessageEvent; | 75 return EventNames::ServiceWorkerMessageEvent; |
| 76 } | 76 } |
| 77 | 77 |
| 78 DEFINE_TRACE(ServiceWorkerMessageEvent) | 78 DEFINE_TRACE(ServiceWorkerMessageEvent) |
| 79 { | 79 { |
| 80 visitor->trace(m_sourceAsServiceWorker); | 80 visitor->trace(m_sourceAsServiceWorker); |
| 81 visitor->trace(m_sourceAsMessagePort); | 81 visitor->trace(m_sourceAsMessagePort); |
| 82 #if ENABLE(OILPAN) | |
| 83 visitor->trace(m_ports); | 82 visitor->trace(m_ports); |
| 84 #endif | |
| 85 Event::trace(visitor); | 83 Event::trace(visitor); |
| 86 } | 84 } |
| 87 | 85 |
| 88 } // namespace blink | 86 } // namespace blink |
| OLD | NEW |