Source/core/rendering/RenderObject.cpp
// FIXME: In repaint-after-layout, we should be able to change the logic to remove the need for this function. See crbug.com/368416.
In repaint-after-layout, we should be able to change the logic to remove the need for this function.
In repaint - after - layout we should be able to change the logic to remove the need for this function .
LayoutPoint RenderObject::positionFromPaintInvalidationContainer(const RenderLayerModelObject* paintInvalidationContainer) const
{
    LayoutPoint offset = isBox() ? toRenderBox(this)->location() : LayoutPoint();
    if (paintInvalidationContainer == this)
        return offset;
    return roundedIntPoint(localToContainerPoint(offset, paintInvalidationContainer));
}
LayoutPoint RenderObject :: positionFromPaintInvalidationContainer ( const RenderLayerModelObject * paintInvalidationContainer ) const { LayoutPoint offset = isBox ( ) ? toRenderBox ( this ) -> location ( ) : LayoutPoint ( ) ; if ( paintInvalidationContainer == this ) return offset ; return roundedIntPoint ( localToContainerPoint ( offset , paintInvalidationContainer ) ) ; }
FIXME: In repaint-after-layout, we should be able to change the logic to remove the need for this function.
FIXME : In repaint - after - layout we should be able to change the logic to remove the need for this function .
// FIXME: This assert should be re-enabled when we move paint invalidation to after compositing update. crbug.com/360286 // ASSERT(containerForPaintInvalidation() == paintInvalidationContainer);