void RenderNamedFlowFragment::clearObjectStyleInRegion(const RenderElement& object)
{
    m_rendererRegionStyle.remove(&object);

    // Clear the style for the children of this object.
    for (auto& child : childrenOfType<RenderElement>(object))
        clearObjectStyleInRegion(child);
}
void RenderNamedFlowFragment::clearObjectStyleInRegion(const RenderObject* object)
{
    ASSERT(object);
    m_renderObjectRegionStyle.remove(object);

    // Clear the style for the children of this object.
    for (RenderObject* child = object->firstChildSlow(); child; child = child->nextSibling())
        clearObjectStyleInRegion(child);
}