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

Side by Side Diff: Source/core/css/invalidation/InvalidationLists.h

Issue 1317533002: Sibling invalidation sets (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review feedback Created 5 years, 3 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
(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 InvalidationLists_h
6 #define InvalidationLists_h
7
8 #include "core/css/invalidation/InvalidationData.h"
9
10 namespace blink {
11
12 class CORE_EXPORT InvalidationLists final {
13 WTF_MAKE_NONCOPYABLE(InvalidationLists);
14 public:
15 InvalidationLists() {}
16
17 InvalidationSetVector& descendants() { return m_descendants; }
18 const InvalidationSetVector& descendants() const { return m_descendants; }
19 InvalidationSetVector& siblings() { return m_siblings; }
20 const InvalidationSetVector& siblings() const { return m_siblings; }
21
22 private:
23 InvalidationSetVector m_descendants;
24 InvalidationSetVector m_siblings;
25 };
26
27 } // namespace blink
28
29 #endif // InvalidationLists_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698