| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 bool WorkerGlobalScope::idleNotification() | 315 bool WorkerGlobalScope::idleNotification() |
| 316 { | 316 { |
| 317 return script()->idleNotification(); | 317 return script()->idleNotification(); |
| 318 } | 318 } |
| 319 | 319 |
| 320 WorkerEventQueue* WorkerGlobalScope::eventQueue() const | 320 WorkerEventQueue* WorkerGlobalScope::eventQueue() const |
| 321 { | 321 { |
| 322 return m_eventQueue.get(); | 322 return m_eventQueue.get(); |
| 323 } | 323 } |
| 324 | 324 |
| 325 void WorkerGlobalScope::countFeature(UseCounter::Feature) const |
| 326 { |
| 327 // FIXME: How should we count features for shared/service workers? |
| 328 } |
| 329 |
| 330 void WorkerGlobalScope::countDeprecation(UseCounter::Feature) const |
| 331 { |
| 332 // FIXME: How should we count features for shared/service workers? |
| 333 } |
| 334 |
| 325 void WorkerGlobalScope::trace(Visitor* visitor) | 335 void WorkerGlobalScope::trace(Visitor* visitor) |
| 326 { | 336 { |
| 327 visitor->trace(m_console); | 337 visitor->trace(m_console); |
| 328 visitor->trace(m_location); | 338 visitor->trace(m_location); |
| 329 visitor->trace(m_navigator); | 339 visitor->trace(m_navigator); |
| 330 visitor->trace(m_eventQueue); | 340 visitor->trace(m_eventQueue); |
| 331 visitor->trace(m_workerClients); | 341 visitor->trace(m_workerClients); |
| 332 WillBeHeapSupplementable<WorkerGlobalScope>::trace(visitor); | 342 WillBeHeapSupplementable<WorkerGlobalScope>::trace(visitor); |
| 333 ExecutionContext::trace(visitor); | 343 ExecutionContext::trace(visitor); |
| 334 EventTargetWithInlineData::trace(visitor); | 344 EventTargetWithInlineData::trace(visitor); |
| 335 } | 345 } |
| 336 | 346 |
| 337 } // namespace WebCore | 347 } // namespace WebCore |
| OLD | NEW |