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

Unified 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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/invalidation/PendingInvalidations.h
diff --git a/third_party/WebKit/Source/core/css/invalidation/PendingInvalidations.h b/third_party/WebKit/Source/core/css/invalidation/PendingInvalidations.h
new file mode 100644
index 0000000000000000000000000000000000000000..1de24f7d873f82e58933030e7825c6407994188c
--- /dev/null
+++ b/third_party/WebKit/Source/core/css/invalidation/PendingInvalidations.h
@@ -0,0 +1,29 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef PendingInvalidations_h
+#define PendingInvalidations_h
+
+#include "core/css/invalidation/InvalidationSet.h"
+
+namespace blink {
+
+class CORE_EXPORT PendingInvalidations final {
+ WTF_MAKE_NONCOPYABLE(PendingInvalidations);
+public:
+ PendingInvalidations() {}
+
+ InvalidationSetVector& descendants() { return m_descendants; }
+ const InvalidationSetVector& descendants() const { return m_descendants; }
+ InvalidationSetVector& siblings() { return m_siblings; }
+ const InvalidationSetVector& siblings() const { return m_siblings; }
+
+private:
+ InvalidationSetVector m_descendants;
+ InvalidationSetVector m_siblings;
+};
+
+} // namespace blink
+
+#endif // PendingInvalidations_h

Powered by Google App Engine
This is Rietveld 408576698