src/3rdparty/webkit/WebCore/page/FrameView.cpp
branchRCL_3
changeset 10 b5b118452c7d
parent 8 3f74d0d4af4c
child 30 5dc02b23752f
equal deleted inserted replaced
9:740e5562c97f 10:b5b118452c7d
   737 bool FrameView::useSlowRepaints() const
   737 bool FrameView::useSlowRepaints() const
   738 {
   738 {
   739     return m_useSlowRepaints || m_slowRepaintObjectCount > 0 || (platformWidget() && m_fixedObjectCount > 0) || m_isOverlapped || !m_contentIsOpaque;
   739     return m_useSlowRepaints || m_slowRepaintObjectCount > 0 || (platformWidget() && m_fixedObjectCount > 0) || m_isOverlapped || !m_contentIsOpaque;
   740 }
   740 }
   741 
   741 
       
   742 bool FrameView::useSlowRepaintsIfNotOverlapped() const
       
   743 {
       
   744     return m_useSlowRepaints || m_slowRepaintObjectCount > 0 || !m_contentIsOpaque;
       
   745 }
       
   746 
   742 void FrameView::setUseSlowRepaints()
   747 void FrameView::setUseSlowRepaints()
   743 {
   748 {
   744     m_useSlowRepaints = true;
   749     m_useSlowRepaints = true;
   745     setCanBlitOnScroll(false);
   750     setCanBlitOnScroll(false);
   746 }
   751 }