| 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 614 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 625 void AXObjectCacheImpl::childrenChanged(AXObject* obj) | 625 void AXObjectCacheImpl::childrenChanged(AXObject* obj) |
| 626 { | 626 { |
| 627 if (!obj) | 627 if (!obj) |
| 628 return; | 628 return; |
| 629 | 629 |
| 630 obj->childrenChanged(); | 630 obj->childrenChanged(); |
| 631 } | 631 } |
| 632 | 632 |
| 633 void AXObjectCacheImpl::notificationPostTimerFired(Timer<AXObjectCacheImpl>*) | 633 void AXObjectCacheImpl::notificationPostTimerFired(Timer<AXObjectCacheImpl>*) |
| 634 { | 634 { |
| 635 RefPtrWillBeRawPtr<Document> protectorForCacheOwner(m_document.get()); | 635 RawPtr<Document> protectorForCacheOwner(m_document.get()); |
| 636 | 636 |
| 637 m_notificationPostTimer.stop(); | 637 m_notificationPostTimer.stop(); |
| 638 | 638 |
| 639 unsigned i = 0, count = m_notificationsToPost.size(); | 639 unsigned i = 0, count = m_notificationsToPost.size(); |
| 640 for (i = 0; i < count; ++i) { | 640 for (i = 0; i < count; ++i) { |
| 641 AXObject* obj = m_notificationsToPost[i].first; | 641 AXObject* obj = m_notificationsToPost[i].first; |
| 642 | 642 |
| 643 if (!obj->axObjectID()) | 643 if (!obj->axObjectID()) |
| 644 continue; | 644 continue; |
| 645 | 645 |
| (...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1242 visitor->trace(m_nodeObjectMapping); | 1242 visitor->trace(m_nodeObjectMapping); |
| 1243 #endif | 1243 #endif |
| 1244 | 1244 |
| 1245 visitor->trace(m_objects); | 1245 visitor->trace(m_objects); |
| 1246 visitor->trace(m_notificationsToPost); | 1246 visitor->trace(m_notificationsToPost); |
| 1247 | 1247 |
| 1248 AXObjectCache::trace(visitor); | 1248 AXObjectCache::trace(visitor); |
| 1249 } | 1249 } |
| 1250 | 1250 |
| 1251 } // namespace blink | 1251 } // namespace blink |
| OLD | NEW |