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 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 } | 404 } |
405 | 405 |
406 v8::Local<v8::Object> WorkerGlobalScope::associateWithWrapper(v8::Isolate*, cons
t WrapperTypeInfo*, v8::Local<v8::Object> wrapper) | 406 v8::Local<v8::Object> WorkerGlobalScope::associateWithWrapper(v8::Isolate*, cons
t WrapperTypeInfo*, v8::Local<v8::Object> wrapper) |
407 { | 407 { |
408 RELEASE_NOTREACHED(); // same as wrap method | 408 RELEASE_NOTREACHED(); // same as wrap method |
409 return v8::Local<v8::Object>(); | 409 return v8::Local<v8::Object>(); |
410 } | 410 } |
411 | 411 |
412 DEFINE_TRACE(WorkerGlobalScope) | 412 DEFINE_TRACE(WorkerGlobalScope) |
413 { | 413 { |
414 #if ENABLE(OILPAN) | |
415 visitor->trace(m_console); | 414 visitor->trace(m_console); |
416 visitor->trace(m_location); | 415 visitor->trace(m_location); |
417 visitor->trace(m_navigator); | 416 visitor->trace(m_navigator); |
418 visitor->trace(m_scriptController); | 417 visitor->trace(m_scriptController); |
419 visitor->trace(m_workerInspectorController); | 418 visitor->trace(m_workerInspectorController); |
420 visitor->trace(m_eventQueue); | 419 visitor->trace(m_eventQueue); |
421 visitor->trace(m_workerClients); | 420 visitor->trace(m_workerClients); |
422 visitor->trace(m_timers); | 421 visitor->trace(m_timers); |
423 visitor->trace(m_messageStorage); | 422 visitor->trace(m_messageStorage); |
424 visitor->trace(m_pendingMessages); | 423 visitor->trace(m_pendingMessages); |
425 visitor->trace(m_eventListeners); | 424 visitor->trace(m_eventListeners); |
426 HeapSupplementable<WorkerGlobalScope>::trace(visitor); | |
427 #endif | |
428 ExecutionContext::trace(visitor); | 425 ExecutionContext::trace(visitor); |
429 EventTargetWithInlineData::trace(visitor); | 426 EventTargetWithInlineData::trace(visitor); |
430 SecurityContext::trace(visitor); | 427 SecurityContext::trace(visitor); |
| 428 Supplementable<WorkerGlobalScope>::trace(visitor); |
431 } | 429 } |
432 | 430 |
433 } // namespace blink | 431 } // namespace blink |
OLD | NEW |