Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: third_party/WebKit/Source/core/dom/NthIndexCache.h

Issue 1854423002: ASSERT -> {DCHECK|DCHECK_XX}, ENABLE(ASSERT) -> DCHECK_IS_ON() in dom (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark svg/as-image/svg-nested.html crash on win Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeWithIndex.h ('k') | third_party/WebKit/Source/core/dom/NthIndexCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698