Index: Source/core/rendering/compositing/CompositingPropertyUpdater.h |
diff --git a/Source/core/rendering/compositing/CompositingPropertyUpdater.h b/Source/core/rendering/compositing/CompositingPropertyUpdater.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0a6194d8520a585ce71aba4807234055ab86b44b |
--- /dev/null |
+++ b/Source/core/rendering/compositing/CompositingPropertyUpdater.h |
@@ -0,0 +1,36 @@ |
+// Copyright 2014 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 CompositingPropertyUpdater_h |
+#define CompositingPropertyUpdater_h |
+ |
+#include "core/rendering/RenderGeometryMap.h" |
+ |
+namespace WebCore { |
+ |
+class RenderLayer; |
+ |
+class CompositingPropertyUpdater { |
+public: |
+ CompositingPropertyUpdater(); |
+ ~CompositingPropertyUpdater(); |
+ |
+ enum UpdateType { |
+ DoNotForceUpdate, |
+ ForceUpdate, |
+ }; |
+ |
+ void updateAncestorDependentProperties(RenderLayer*, UpdateType = DoNotForceUpdate); |
+ |
+#if !ASSERT_DISABLED |
+ static void assertNeedsToUpdateAncestorDependantPropertiesBitsCleared(RenderLayer*); |
+#endif |
+ |
+private: |
+ RenderGeometryMap m_geometryMap; |
+}; |
+ |
+} // namespace WebCore |
+ |
+#endif // CompositingPropertyUpdater_h |