Source/core/frame/FrameView.cpp
// The plan is to move to compositor-queried paint invalidation, in which case this
// method would setNeedsRedraw on the GraphicsLayers with invalidations and
// let the compositor pick which to actually draw.
// See http://crbug.com/306706
The plan is to move to compositor-queried paint invalidation, in which case this
method would setNeedsRedraw on the GraphicsLayers with invalidations and
let the compositor pick which to actually draw.
The plan is to move to compositor - queried paint invalidation in which case this method would setNeedsRedraw on the GraphicsLayers with invalidations and let the compositor pick which to actually draw .
void FrameView::invalidateTree(RenderObject* root)
{
    ASSERT(RuntimeEnabledFeatures::repaintAfterLayoutEnabled());
    ASSERT(!root->needsLayout());
    ASSERT(!m_nestedLayoutCount);
    TRACE_EVENT1("blink", "FrameView::invalidateTree", "root", root->debugName().ascii());
    DisableCompositingQueryAsserts compositingQueryAssertsDisabler;
    LayoutState rootLayoutState(*root);
    root->invalidateTreeAfterLayout(*root->containerForPaintInvalidation());
    if (hasVerticalBarDamage())
        invalidateRect(verticalBarDamage());
    if (hasHorizontalBarDamage())
        invalidateRect(horizontalBarDamage());
    resetScrollbarDamage();
}
void FrameView :: invalidateTree ( RenderObject * root ) { ASSERT ( RuntimeEnabledFeatures :: repaintAfterLayoutEnabled ( ) ) ; ASSERT ( ! root -> needsLayout ( ) ) ; ASSERT ( ! m_nestedLayoutCount ) ; TRACE_EVENT1 ( " " , " " , " " , root -> debugName ( ) . ascii ( ) ) ; DisableCompositingQueryAsserts compositingQueryAssertsDisabler ; LayoutState rootLayoutState ( * root ) ; root -> invalidateTreeAfterLayout ( * root -> containerForPaintInvalidation ( ) ) ; if ( hasVerticalBarDamage ( ) ) invalidateRect ( verticalBarDamage ( ) ) ; if ( hasHorizontalBarDamage ( ) ) invalidateRect ( horizontalBarDamage ( ) ) ; resetScrollbarDamage ( ) ; }
The plan is to move to compositor-queried paint invalidation, in which case this
method would setNeedsRedraw on the GraphicsLayers with invalidations and
let the compositor pick which to actually draw.
The plan is to move to compositor - queried paint invalidation in which case this method would setNeedsRedraw on the GraphicsLayers with invalidations and let the compositor pick which to actually draw .
// We should only invalidate paints for the outer most layout. This works as // we continue to track paint invalidation rects until this function is called. // FIXME: really, we're in the paint invalidation phase here, and the compositing queries are legal. // Until those states are fully fledged, I'll just disable the ASSERTS. // Invalidate the paint of the frameviews scrollbars if needed