OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 CompositingPropertyUpdater_h |
| 6 #define CompositingPropertyUpdater_h |
| 7 |
| 8 #include "core/rendering/RenderGeometryMap.h" |
| 9 |
| 10 namespace WebCore { |
| 11 |
| 12 class RenderLayer; |
| 13 |
| 14 class CompositingPropertyUpdater { |
| 15 public: |
| 16 CompositingPropertyUpdater(); |
| 17 ~CompositingPropertyUpdater(); |
| 18 |
| 19 enum UpdateType { |
| 20 DoNotForceUpdate, |
| 21 ForceUpdate, |
| 22 }; |
| 23 |
| 24 void updateAncestorDependentProperties(RenderLayer*, UpdateType = DoNotForce
Update); |
| 25 |
| 26 #if !ASSERT_DISABLED |
| 27 static void assertNeedsToUpdateAncestorDependantPropertiesBitsCleared(Render
Layer*); |
| 28 #endif |
| 29 |
| 30 private: |
| 31 RenderGeometryMap m_geometryMap; |
| 32 }; |
| 33 |
| 34 } // namespace WebCore |
| 35 |
| 36 #endif // CompositingPropertyUpdater_h |
OLD | NEW |