| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 } | 102 } |
| 103 | 103 |
| 104 PassRefPtrWillBeRawPtr<AsyncCallChain> get(typename MapType::KeyPeekInType k
ey) const | 104 PassRefPtrWillBeRawPtr<AsyncCallChain> get(typename MapType::KeyPeekInType k
ey) const |
| 105 { | 105 { |
| 106 return m_asyncCallChains.get(key); | 106 return m_asyncCallChains.get(key); |
| 107 } | 107 } |
| 108 | 108 |
| 109 void remove(typename MapType::KeyPeekInType key) | 109 void remove(typename MapType::KeyPeekInType key) |
| 110 { | 110 { |
| 111 ASSERT(m_tracker); | 111 ASSERT(m_tracker); |
| 112 RefPtr<AsyncCallChain> chain = m_asyncCallChains.take(key); | 112 RefPtrWillBeRawPtr<AsyncCallChain> chain = m_asyncCallChains.take(key); |
| 113 if (chain) | 113 if (chain) |
| 114 m_tracker->m_debuggerAgent->didCompleteAsyncOperation(chain.get()); | 114 m_tracker->m_debuggerAgent->didCompleteAsyncOperation(chain.get()); |
| 115 } | 115 } |
| 116 | 116 |
| 117 void trace(Visitor* visitor) | 117 void trace(Visitor* visitor) |
| 118 { | 118 { |
| 119 visitor->trace(m_tracker); | 119 visitor->trace(m_tracker); |
| 120 visitor->trace(m_asyncCallChains); | 120 visitor->trace(m_asyncCallChains); |
| 121 } | 121 } |
| 122 | 122 |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 } | 539 } |
| 540 | 540 |
| 541 void AsyncCallStackTracker::trace(Visitor* visitor) | 541 void AsyncCallStackTracker::trace(Visitor* visitor) |
| 542 { | 542 { |
| 543 #if ENABLE(OILPAN) | 543 #if ENABLE(OILPAN) |
| 544 visitor->trace(m_executionContextDataMap); | 544 visitor->trace(m_executionContextDataMap); |
| 545 #endif | 545 #endif |
| 546 } | 546 } |
| 547 | 547 |
| 548 } // namespace blink | 548 } // namespace blink |
| OLD | NEW |