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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp

Issue 2850633003: Rename LayoutTable::CollapseBorders() to ShouldCollapseBorders() (Closed)
Patch Set: Rebase Created 3 years, 8 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
Index: third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
index f48eca2513c8176d9edf4e1affcb0fc5e4ab3df6..ab978d3850623979bced6215999b86221d44b430 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp
@@ -15,7 +15,7 @@ void LayoutTableBoxComponent::InvalidateCollapsedBordersOnStyleChange(
LayoutTable& table,
const StyleDifference& diff,
const ComputedStyle& old_style) {
- if (!table.CollapseBorders())
+ if (!table.ShouldCollapseBorders())
return;
if (old_style.Border() != table_part.StyleRef().Border() ||
(diff.TextDecorationOrColorChanged() &&
@@ -35,7 +35,7 @@ bool LayoutTableBoxComponent::DoCellsHaveDirtyWidth(
// optimization but now it seems that diff.needsFullLayout() implies
// tablePart.needsLayout().
return diff.NeedsFullLayout() && table_part.NeedsLayout() &&
- table.CollapseBorders() &&
+ table.ShouldCollapseBorders() &&
!old_style.Border().SizeEquals(table_part.Style()->Border());
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableCell.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698