void RenderView::pushLayoutState(RenderObject* root) { ASSERT(m_layoutStateDisableCount == 0); ASSERT(m_layoutState == 0); pushLayoutStateForCurrentFlowThread(root); m_layoutState = std::make_unique<LayoutState>(root); }
void RenderView::pushLayoutState(RenderObject* root) { ASSERT(m_layoutStateDisableCount == 0); ASSERT(m_layoutState == 0); pushLayoutStateForCurrentFlowThread(root); m_layoutState = new LayoutState(root); }