| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014, Google Inc. All rights reserved. | 2 * Copyright (C) 2014, 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 | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * | 7 * |
| 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 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 void AXObjectCacheImpl::childrenChanged(AXObject* obj) | 646 void AXObjectCacheImpl::childrenChanged(AXObject* obj) |
| 647 { | 647 { |
| 648 if (!obj) | 648 if (!obj) |
| 649 return; | 649 return; |
| 650 | 650 |
| 651 obj->childrenChanged(); | 651 obj->childrenChanged(); |
| 652 } | 652 } |
| 653 | 653 |
| 654 void AXObjectCacheImpl::notificationPostTimerFired(Timer<AXObjectCacheImpl>*) | 654 void AXObjectCacheImpl::notificationPostTimerFired(Timer<AXObjectCacheImpl>*) |
| 655 { | 655 { |
| 656 RefPtrWillBeRawPtr<Document> protectorForCacheOwner(m_document.get()); | 656 RawPtr<Document> protectorForCacheOwner(m_document.get()); |
| 657 | 657 |
| 658 m_notificationPostTimer.stop(); | 658 m_notificationPostTimer.stop(); |
| 659 | 659 |
| 660 unsigned i = 0, count = m_notificationsToPost.size(); | 660 unsigned i = 0, count = m_notificationsToPost.size(); |
| 661 for (i = 0; i < count; ++i) { | 661 for (i = 0; i < count; ++i) { |
| 662 AXObject* obj = m_notificationsToPost[i].first; | 662 AXObject* obj = m_notificationsToPost[i].first; |
| 663 | 663 |
| 664 if (!obj->axObjectID()) | 664 if (!obj->axObjectID()) |
| 665 continue; | 665 continue; |
| 666 | 666 |
| (...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1289 visitor->trace(m_nodeObjectMapping); | 1289 visitor->trace(m_nodeObjectMapping); |
| 1290 #endif | 1290 #endif |
| 1291 | 1291 |
| 1292 visitor->trace(m_objects); | 1292 visitor->trace(m_objects); |
| 1293 visitor->trace(m_notificationsToPost); | 1293 visitor->trace(m_notificationsToPost); |
| 1294 | 1294 |
| 1295 AXObjectCache::trace(visitor); | 1295 AXObjectCache::trace(visitor); |
| 1296 } | 1296 } |
| 1297 | 1297 |
| 1298 } // namespace blink | 1298 } // namespace blink |
| OLD | NEW |