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