OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 , m_timerCallChains(tracker->m_debuggerAgent) | 65 , m_timerCallChains(tracker->m_debuggerAgent) |
66 , m_animationFrameCallChains(tracker->m_debuggerAgent) | 66 , m_animationFrameCallChains(tracker->m_debuggerAgent) |
67 , m_eventCallChains(tracker->m_debuggerAgent) | 67 , m_eventCallChains(tracker->m_debuggerAgent) |
68 , m_xhrCallChains(tracker->m_debuggerAgent) | 68 , m_xhrCallChains(tracker->m_debuggerAgent) |
69 , m_mutationObserverCallChains(tracker->m_debuggerAgent) | 69 , m_mutationObserverCallChains(tracker->m_debuggerAgent) |
70 , m_executionContextTaskCallChains(tracker->m_debuggerAgent) | 70 , m_executionContextTaskCallChains(tracker->m_debuggerAgent) |
71 , m_asyncOperations(tracker->m_debuggerAgent) | 71 , m_asyncOperations(tracker->m_debuggerAgent) |
72 { | 72 { |
73 } | 73 } |
74 | 74 |
75 virtual void contextDestroyed() override | 75 void contextDestroyed() override |
76 { | 76 { |
77 ASSERT(executionContext()); | 77 ASSERT(executionContext()); |
78 OwnPtrWillBeRawPtr<ExecutionContextData> self = m_tracker->m_executionCo
ntextDataMap.take(executionContext()); | 78 OwnPtrWillBeRawPtr<ExecutionContextData> self = m_tracker->m_executionCo
ntextDataMap.take(executionContext()); |
79 ASSERT_UNUSED(self, self == this); | 79 ASSERT_UNUSED(self, self == this); |
80 ContextLifecycleObserver::contextDestroyed(); | 80 ContextLifecycleObserver::contextDestroyed(); |
81 disposeCallChains(); | 81 disposeCallChains(); |
82 } | 82 } |
83 | 83 |
84 void unobserve() | 84 void unobserve() |
85 { | 85 { |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 { | 428 { |
429 #if ENABLE(OILPAN) | 429 #if ENABLE(OILPAN) |
430 visitor->trace(m_executionContextDataMap); | 430 visitor->trace(m_executionContextDataMap); |
431 visitor->trace(m_debuggerAgent); | 431 visitor->trace(m_debuggerAgent); |
432 visitor->trace(m_instrumentingAgents); | 432 visitor->trace(m_instrumentingAgents); |
433 #endif | 433 #endif |
434 InspectorDebuggerAgent::AsyncCallTrackingListener::trace(visitor); | 434 InspectorDebuggerAgent::AsyncCallTrackingListener::trace(visitor); |
435 } | 435 } |
436 | 436 |
437 } // namespace blink | 437 } // namespace blink |
OLD | NEW |