| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef NthIndexCache_h | 5 #ifndef NthIndexCache_h |
| 6 #define NthIndexCache_h | 6 #define NthIndexCache_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/dom/Element.h" | 9 #include "core/dom/Element.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 | 51 |
| 52 void cacheNthIndexDataForParent(Element&); | 52 void cacheNthIndexDataForParent(Element&); |
| 53 void cacheNthOfTypeIndexDataForParent(Element&); | 53 void cacheNthOfTypeIndexDataForParent(Element&); |
| 54 IndexByType& ensureTypeIndexMap(ContainerNode&); | 54 IndexByType& ensureTypeIndexMap(ContainerNode&); |
| 55 NthIndexData* nthTypeIndexDataForParent(Element&) const; | 55 NthIndexData* nthTypeIndexDataForParent(Element&) const; |
| 56 | 56 |
| 57 Member<Document> m_document; | 57 Member<Document> m_document; |
| 58 Member<ParentMap> m_parentMap; | 58 Member<ParentMap> m_parentMap; |
| 59 Member<ParentMapForType> m_parentMapForType; | 59 Member<ParentMapForType> m_parentMapForType; |
| 60 | 60 |
| 61 #if ENABLE(ASSERT) | 61 #if DCHECK_IS_ON() |
| 62 uint64_t m_domTreeVersion; | 62 uint64_t m_domTreeVersion; |
| 63 #endif | 63 #endif |
| 64 }; | 64 }; |
| 65 | 65 |
| 66 } // namespace blink | 66 } // namespace blink |
| 67 | 67 |
| 68 #endif // NthIndexCache_h | 68 #endif // NthIndexCache_h |
| OLD | NEW |