| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "platform/heap/CallbackStack.h" | 5 #include "platform/heap/CallbackStack.h" |
| 6 | 6 |
| 7 namespace blink { | 7 namespace blink { |
| 8 | 8 |
| 9 void CallbackStack::Block::clear() | 9 void CallbackStack::Block::clear() |
| 10 { | 10 { |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 bool CallbackStack::hasCallbackForObject(const void* object) | 134 bool CallbackStack::hasCallbackForObject(const void* object) |
| 135 { | 135 { |
| 136 for (Block* current = m_first; current; current = current->next()) { | 136 for (Block* current = m_first; current; current = current->next()) { |
| 137 if (current->hasCallbackForObject(object)) | 137 if (current->hasCallbackForObject(object)) |
| 138 return true; | 138 return true; |
| 139 } | 139 } |
| 140 return false; | 140 return false; |
| 141 } | 141 } |
| 142 #endif | 142 #endif |
| 143 | 143 |
| 144 } | 144 } // namespace blink |
| OLD | NEW |