예제 #1
0
 CurrentRenderFlowThreadMaintainer(RenderFlowThread* renderFlowThread)
     : m_renderFlowThread(renderFlowThread)
 {
     RenderView* view = m_renderFlowThread->view();
     ASSERT(!view->currentRenderFlowThread());
     view->setCurrentRenderFlowThread(m_renderFlowThread);
 }
예제 #2
0
 ~CurrentRenderFlowThreadMaintainer()
 {
     RenderView* view = m_renderFlowThread->view();
     ASSERT(view->currentRenderFlowThread() == m_renderFlowThread);
     view->setCurrentRenderFlowThread(0);
 }