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 |