Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(111)

Unified Diff: Source/core/rendering/RenderTableCol.cpp

Issue 332543002: Rename Repaint to Paint Invalidation Part 4 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/rendering/RenderTableCol.h ('k') | Source/core/rendering/RenderTableRow.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderTableCol.cpp
diff --git a/Source/core/rendering/RenderTableCol.cpp b/Source/core/rendering/RenderTableCol.cpp
index ade4d2a282178695143f79f0f794b416033c311c..71956e0488c6de86bc1bae3e05cb887c22893b7f 100644
--- a/Source/core/rendering/RenderTableCol.cpp
+++ b/Source/core/rendering/RenderTableCol.cpp
@@ -66,7 +66,7 @@ void RenderTableCol::updateFromElement()
} else
m_span = !(style() && style()->display() == TABLE_COLUMN_GROUP);
if (m_span != oldSpan && style() && parent())
- setNeedsLayoutAndPrefWidthsRecalcAndFullRepaint();
+ setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
}
void RenderTableCol::insertedIntoTree()
@@ -94,17 +94,17 @@ bool RenderTableCol::canHaveChildren() const
return isTableColumnGroup();
}
-LayoutRect RenderTableCol::clippedOverflowRectForRepaint(const RenderLayerModelObject* repaintContainer) const
+LayoutRect RenderTableCol::clippedOverflowRectForPaintInvalidation(const RenderLayerModelObject* paintInvalidationContainer) const
{
// For now, just repaint the whole table.
// FIXME: Find a better way to do this, e.g., need to repaint all the cells that we
// might have propagated a background color or borders into.
- // FIXME: check for repaintContainer each time here?
+ // FIXME: check for paintInvalidationContainer each time here?
RenderTable* parentTable = table();
if (!parentTable)
return LayoutRect();
- return parentTable->clippedOverflowRectForRepaint(repaintContainer);
+ return parentTable->clippedOverflowRectForPaintInvalidation(paintInvalidationContainer);
}
void RenderTableCol::imageChanged(WrappedImagePtr, const IntRect*)
« no previous file with comments | « Source/core/rendering/RenderTableCol.h ('k') | Source/core/rendering/RenderTableRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698