#ifndef CompositingPropertyUpdater_h
#define CompositingPropertyUpdater_h
#include "core/rendering/RenderGeometryMap.h"
namespace WebCore {
class RenderLayer;
class CompositingPropertyUpdater {
public:
explicit CompositingPropertyUpdater(RenderLayer* rootRenderLayer);
~CompositingPropertyUpdater();
enum UpdateType {
DoNotForceUpdate,
ForceUpdate,
};
void updateAncestorDependentProperties(RenderLayer*, UpdateType, RenderLayer* enclosingCompositedLayer);
#if !ASSERT_DISABLED
static void assertNeedsToUpdateAncestorDependantPropertiesBitsCleared(RenderLayer*);
#endif
private:
RenderGeometryMap m_geometryMap;
RenderLayer* m_rootRenderLayer;
};
}
#endif