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/StashedPortCollection.h" | 6 #include "modules/serviceworkers/StashedPortCollection.h" |
7 | 7 |
8 #include "bindings/core/v8/SerializedScriptValueFactory.h" | 8 #include "bindings/core/v8/SerializedScriptValueFactory.h" |
9 #include "modules/EventTargetModules.h" | 9 #include "modules/EventTargetModules.h" |
10 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" | 10 #include "modules/serviceworkers/ServiceWorkerGlobalScopeClient.h" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 return EventTargetNames::StashedPortCollection; | 46 return EventTargetNames::StashedPortCollection; |
47 } | 47 } |
48 | 48 |
49 ExecutionContext* StashedPortCollection::executionContext() const | 49 ExecutionContext* StashedPortCollection::executionContext() const |
50 { | 50 { |
51 return ContextLifecycleObserver::executionContext(); | 51 return ContextLifecycleObserver::executionContext(); |
52 } | 52 } |
53 | 53 |
54 DEFINE_TRACE(StashedPortCollection) | 54 DEFINE_TRACE(StashedPortCollection) |
55 { | 55 { |
| 56 visitor->trace(m_ports); |
56 EventTargetWithInlineData::trace(visitor); | 57 EventTargetWithInlineData::trace(visitor); |
57 ContextLifecycleObserver::trace(visitor); | 58 ContextLifecycleObserver::trace(visitor); |
58 } | 59 } |
59 | 60 |
60 } // namespace blink | 61 } // namespace blink |
61 | 62 |
OLD | NEW |