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

Unified Diff: third_party/WebKit/Source/core/paint/TableSectionPainter.cpp

Issue 2326303002: Don't repeat headers if at least one row of content doesn't fit (Closed)
Patch Set: bug 624814 Created 4 years, 3 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/paint/TableSectionPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
index ee048f0f903ca3f4416c77ef04fbcfe9ee3a0967..b4b1fbd1b75ecbec0c47a1825be6aa2ce7dca9b2 100644
--- a/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.cpp
@@ -37,7 +37,7 @@ inline const LayoutTableCell* TableSectionPainter::primaryCellToPaint(unsigned r
void TableSectionPainter::paintRepeatingHeaderGroup(const PaintInfo& paintInfo, const LayoutPoint& paintOffset, const CollapsedBorderValue& currentBorderValue, ItemToPaint itemToPaint)
{
- if (!m_layoutTableSection.hasRepeatingHeaderGroup())
+ if (!m_layoutTableSection.isRepeatingHeaderGroup())
return;
LayoutTable* table = m_layoutTableSection.table();

Powered by Google App Engine
This is Rietveld 408576698