Index: third_party/WebKit/Source/core/layout/LayoutTableCol.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp b/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp |
index ab9da43fce5fef66783948fcbd08f5af0ac5076b..019ab8468ca7e60ba65d343ffca069c493761c45 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutTableCol.cpp |
@@ -108,7 +108,7 @@ bool LayoutTableCol::canHaveChildren() const |
return isTableColumnGroup(); |
} |
-LayoutRect LayoutTableCol::clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const |
+LayoutRect LayoutTableCol::localOverflowRectForPaintInvalidation() const |
{ |
// Entire table gets invalidated, instead of invalidating |
// every cell in the column. |
@@ -122,9 +122,7 @@ LayoutRect LayoutTableCol::clippedOverflowRectForPaintInvalidation(const LayoutB |
// location is always zero. |
ASSERT(this->location() == LayoutPoint()); |
- LayoutRect r = table->visualOverflowRect(); |
- mapToVisibleRectInAncestorSpace(paintInvalidationContainer, r, paintInvalidationState); |
- return r; |
+ return table->localOverflowRectForPaintInvalidation(); |
} |
void LayoutTableCol::imageChanged(WrappedImagePtr, const IntRect*) |