LayoutRect LayoutTableCol::localOverflowRectForPaintInvalidation() const
{
    // Entire table gets invalidated, instead of invalidating
    // every cell in the column.
    // This is simpler, but suboptimal.

    LayoutTable* table = this->table();
    if (!table)
        return LayoutRect();

    // The correctness of this method depends on the fact that LayoutTableCol's
    // location is always zero.
    ASSERT(this->location() == LayoutPoint());

    return table->localOverflowRectForPaintInvalidation();
}