OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef InvalidationListData_h |
| 6 #define InvalidationListData_h |
| 7 |
| 8 #include "core/css/invalidation/InvalidationData.h" |
| 9 |
| 10 namespace blink { |
| 11 |
| 12 class CORE_EXPORT InvalidationListData final : public RefCountedWillBeGarbageCol
lected<InvalidationListData> { |
| 13 WTF_MAKE_NONCOPYABLE(InvalidationListData); |
| 14 public: |
| 15 static PassRefPtrWillBeRawPtr<InvalidationListData> create() |
| 16 { |
| 17 return adoptRefWillBeNoop(new InvalidationListData); |
| 18 } |
| 19 |
| 20 DECLARE_TRACE(); |
| 21 |
| 22 InvalidationSetVector& descendants() { return m_invalidationList[InvalidateD
escendants]; } |
| 23 InvalidationSetVector& siblings() { return m_invalidationList[InvalidateSibl
ings]; } |
| 24 |
| 25 private: |
| 26 InvalidationListData() {} |
| 27 |
| 28 InvalidationSetVector m_invalidationList[InvalidateTypeCount]; |
| 29 }; |
| 30 |
| 31 } // namespace blink |
| 32 |
| 33 #endif // InvalidationListData_h |
OLD | NEW |