| 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) 2012 Google Inc. All Rights Reserved. | 3 * Copyright (C) 2012 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 void ExecutionContext::suspendActiveDOMObjects() | 79 void ExecutionContext::suspendActiveDOMObjects() |
| 80 { | 80 { |
| 81 DCHECK(!m_activeDOMObjectsAreSuspended); | 81 DCHECK(!m_activeDOMObjectsAreSuspended); |
| 82 notifySuspendingActiveDOMObjects(); | 82 notifySuspendingActiveDOMObjects(); |
| 83 m_activeDOMObjectsAreSuspended = true; | 83 m_activeDOMObjectsAreSuspended = true; |
| 84 } | 84 } |
| 85 | 85 |
| 86 void ExecutionContext::resumeActiveDOMObjects() | 86 void ExecutionContext::resumeActiveDOMObjects() |
| 87 { | 87 { |
| 88 DCHECK(m_activeDOMObjectsAreSuspended); | 88 // DCHECK(m_activeDOMObjectsAreSuspended); |
| 89 m_activeDOMObjectsAreSuspended = false; | 89 m_activeDOMObjectsAreSuspended = false; |
| 90 notifyResumingActiveDOMObjects(); | 90 notifyResumingActiveDOMObjects(); |
| 91 } | 91 } |
| 92 | 92 |
| 93 void ExecutionContext::stopActiveDOMObjects() | 93 void ExecutionContext::stopActiveDOMObjects() |
| 94 { | 94 { |
| 95 m_activeDOMObjectsAreStopped = true; | 95 m_activeDOMObjectsAreStopped = true; |
| 96 notifyStoppingActiveDOMObjects(); | 96 notifyStoppingActiveDOMObjects(); |
| 97 } | 97 } |
| 98 | 98 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 274 } | 274 } |
| 275 | 275 |
| 276 DEFINE_TRACE(ExecutionContext) | 276 DEFINE_TRACE(ExecutionContext) |
| 277 { | 277 { |
| 278 visitor->trace(m_publicURLManager); | 278 visitor->trace(m_publicURLManager); |
| 279 ContextLifecycleNotifier::trace(visitor); | 279 ContextLifecycleNotifier::trace(visitor); |
| 280 Supplementable<ExecutionContext>::trace(visitor); | 280 Supplementable<ExecutionContext>::trace(visitor); |
| 281 } | 281 } |
| 282 | 282 |
| 283 } // namespace blink | 283 } // namespace blink |
| OLD | NEW |