Chromium Code Reviews

Side by Side Diff: third_party/WebKit/Source/core/css/invalidation/PendingInvalidations.h

Issue 1317533002: Sibling invalidation sets (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Oilpan Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 PendingInvalidations_h
6 #define PendingInvalidations_h
7
8 #include "core/css/invalidation/InvalidationSet.h"
9
10 namespace blink {
11
12 class CORE_EXPORT PendingInvalidations final {
13 WTF_MAKE_NONCOPYABLE(PendingInvalidations);
14 public:
15 PendingInvalidations() {}
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 // PendingInvalidations_h
OLDNEW

Powered by Google App Engine