OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2009, 2011 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2009, 2011 Google Inc. All Rights Reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 // FIXME: How should we count features for shared/service workers? | 319 // FIXME: How should we count features for shared/service workers? |
320 } | 320 } |
321 | 321 |
322 ConsoleMessageStorage* WorkerGlobalScope::messageStorage() | 322 ConsoleMessageStorage* WorkerGlobalScope::messageStorage() |
323 { | 323 { |
324 return m_messageStorage.get(); | 324 return m_messageStorage.get(); |
325 } | 325 } |
326 | 326 |
327 void WorkerGlobalScope::trace(Visitor* visitor) | 327 void WorkerGlobalScope::trace(Visitor* visitor) |
328 { | 328 { |
| 329 #if ENABLE(OILPAN) |
329 visitor->trace(m_console); | 330 visitor->trace(m_console); |
330 visitor->trace(m_location); | 331 visitor->trace(m_location); |
331 visitor->trace(m_navigator); | 332 visitor->trace(m_navigator); |
332 visitor->trace(m_workerInspectorController); | 333 visitor->trace(m_workerInspectorController); |
333 visitor->trace(m_eventQueue); | 334 visitor->trace(m_eventQueue); |
334 visitor->trace(m_workerClients); | 335 visitor->trace(m_workerClients); |
335 visitor->trace(m_messageStorage); | 336 visitor->trace(m_messageStorage); |
336 WillBeHeapSupplementable<WorkerGlobalScope>::trace(visitor); | 337 HeapSupplementable<WorkerGlobalScope>::trace(visitor); |
| 338 #endif |
337 ExecutionContext::trace(visitor); | 339 ExecutionContext::trace(visitor); |
338 EventTargetWithInlineData::trace(visitor); | 340 EventTargetWithInlineData::trace(visitor); |
339 } | 341 } |
340 | 342 |
341 } // namespace blink | 343 } // namespace blink |
OLD | NEW |