OLD | NEW |
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 "config.h" | 5 #include "config.h" |
6 #include "FetchEvent.h" | 6 #include "FetchEvent.h" |
7 | 7 |
8 #include "modules/fetch/Request.h" | 8 #include "modules/fetch/Request.h" |
9 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h" | 9 #include "modules/serviceworkers/ServiceWorkerGlobalScope.h" |
10 #include "wtf/RefPtr.h" | 10 #include "wtf/RefPtr.h" |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 { | 65 { |
66 if (initializer.hasRequest()) | 66 if (initializer.hasRequest()) |
67 m_request = initializer.request(); | 67 m_request = initializer.request(); |
68 if (initializer.hasClient()) | 68 if (initializer.hasClient()) |
69 m_client = initializer.client(); | 69 m_client = initializer.client(); |
70 m_isReload = initializer.isReload(); | 70 m_isReload = initializer.isReload(); |
71 } | 71 } |
72 | 72 |
73 DEFINE_TRACE(FetchEvent) | 73 DEFINE_TRACE(FetchEvent) |
74 { | 74 { |
| 75 visitor->trace(m_observer); |
75 visitor->trace(m_request); | 76 visitor->trace(m_request); |
76 visitor->trace(m_observer); | 77 visitor->trace(m_client); |
77 ExtendableEvent::trace(visitor); | 78 ExtendableEvent::trace(visitor); |
78 } | 79 } |
79 | 80 |
80 } // namespace blink | 81 } // namespace blink |
OLD | NEW |