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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 visitor->trace(m_executionContextTaskCallChains); | 99 visitor->trace(m_executionContextTaskCallChains); |
100 visitor->trace(m_asyncOperations); | 100 visitor->trace(m_asyncOperations); |
101 #endif | 101 #endif |
102 ContextLifecycleObserver::trace(visitor); | 102 ContextLifecycleObserver::trace(visitor); |
103 } | 103 } |
104 | 104 |
105 RawPtrWillBeMember<AsyncCallTracker> m_tracker; | 105 RawPtrWillBeMember<AsyncCallTracker> m_tracker; |
106 HashSet<int> m_intervalTimerIds; | 106 HashSet<int> m_intervalTimerIds; |
107 AsyncOperationMap<int> m_timerCallChains; | 107 AsyncOperationMap<int> m_timerCallChains; |
108 AsyncOperationMap<int> m_animationFrameCallChains; | 108 AsyncOperationMap<int> m_animationFrameCallChains; |
109 AsyncOperationMap<RawPtrWillBeMember<Event> > m_eventCallChains; | 109 AsyncOperationMap<RawPtrWillBeMember<Event>> m_eventCallChains; |
110 AsyncOperationMap<RawPtrWillBeMember<EventTarget> > m_xhrCallChains; | 110 AsyncOperationMap<RawPtrWillBeMember<EventTarget>> m_xhrCallChains; |
111 AsyncOperationMap<RawPtrWillBeMember<MutationObserver> > m_mutationObserverC
allChains; | 111 AsyncOperationMap<RawPtrWillBeMember<MutationObserver>> m_mutationObserverCa
llChains; |
112 AsyncOperationMap<ExecutionContextTask*> m_executionContextTaskCallChains; | 112 AsyncOperationMap<ExecutionContextTask*> m_executionContextTaskCallChains; |
113 AsyncOperationMap<int> m_asyncOperations; | 113 AsyncOperationMap<int> m_asyncOperations; |
114 | 114 |
115 private: | 115 private: |
116 void disposeCallChains() | 116 void disposeCallChains() |
117 { | 117 { |
118 m_timerCallChains.dispose(); | 118 m_timerCallChains.dispose(); |
119 m_animationFrameCallChains.dispose(); | 119 m_animationFrameCallChains.dispose(); |
120 m_eventCallChains.dispose(); | 120 m_eventCallChains.dispose(); |
121 m_xhrCallChains.dispose(); | 121 m_xhrCallChains.dispose(); |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
427 { | 427 { |
428 #if ENABLE(OILPAN) | 428 #if ENABLE(OILPAN) |
429 visitor->trace(m_executionContextDataMap); | 429 visitor->trace(m_executionContextDataMap); |
430 visitor->trace(m_debuggerAgent); | 430 visitor->trace(m_debuggerAgent); |
431 visitor->trace(m_instrumentingAgents); | 431 visitor->trace(m_instrumentingAgents); |
432 #endif | 432 #endif |
433 InspectorDebuggerAgent::AsyncCallTrackingListener::trace(visitor); | 433 InspectorDebuggerAgent::AsyncCallTrackingListener::trace(visitor); |
434 } | 434 } |
435 | 435 |
436 } // namespace blink | 436 } // namespace blink |
OLD | NEW |