void RenderNamedFlowFragment::detachRegion() { if (m_flowThread && hasAutoLogicalHeight()) decrementAutoLogicalHeightCount(); RenderRegion::detachRegion(); }
void RenderRegion::detachRegion() { if (m_flowThread) { m_flowThread->removeRegionFromThread(this); if (hasAutoLogicalHeight()) decrementAutoLogicalHeightCount(); } m_flowThread = 0; }
void RenderNamedFlowFragment::detachRegion() { if (hasAutoLogicalHeight()) { ASSERT(isValid()); m_hasAutoLogicalHeight = false; clearComputedAutoHeight(); decrementAutoLogicalHeightCount(); } RenderRegion::detachRegion(); }
void RenderNamedFlowFragment::updateRegionHasAutoLogicalHeightFlag() { ASSERT(isValid()); bool didHaveAutoLogicalHeight = m_hasAutoLogicalHeight; m_hasAutoLogicalHeight = shouldHaveAutoLogicalHeight(); if (didHaveAutoLogicalHeight == m_hasAutoLogicalHeight) return; if (m_hasAutoLogicalHeight) incrementAutoLogicalHeightCount(); else { clearComputedAutoHeight(); decrementAutoLogicalHeightCount(); } }
void RenderRegion::updateRegionHasAutoLogicalHeightFlag() { ASSERT(m_flowThread); if (!isValid()) return; bool didHaveAutoLogicalHeight = m_hasAutoLogicalHeight; m_hasAutoLogicalHeight = shouldHaveAutoLogicalHeight(); if (m_hasAutoLogicalHeight != didHaveAutoLogicalHeight) { if (m_hasAutoLogicalHeight) incrementAutoLogicalHeightCount(); else { clearOverrideLogicalContentHeight(); decrementAutoLogicalHeightCount(); } } }