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

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

Issue 2783953002: Fix spanning cell painting background from wrong row (Closed)
Patch Set: Remove non-const version and use faster implementation Created 3 years, 9 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.h
diff --git a/third_party/WebKit/Source/core/paint/TableSectionPainter.h b/third_party/WebKit/Source/core/paint/TableSectionPainter.h
index d6ff986f4b2cadcc81b66cc1cca78c3d86d76baf..c1f784d71a0a478083167d47e34a672499504039 100644
--- a/third_party/WebKit/Source/core/paint/TableSectionPainter.h
+++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.h
@@ -11,7 +11,6 @@
namespace blink {
-class CellSpan;
class CollapsedBorderValue;
class LayoutPoint;
class LayoutTableCell;
@@ -39,17 +38,6 @@ class TableSectionPainter {
void paintCell(const LayoutTableCell&, const PaintInfo&, const LayoutPoint&);
void paintBoxShadow(const PaintInfo&, const LayoutPoint&, ShadowStyle);
- // Returns the primary cell that should be painted for the grid item at (row,
- // column) intersecting dirtiedRows and dirtiedColumns. Returns nullptr if we
- // have painted the grid item when painting the grid item left to or above
- // (row, column) when painting cells intersecting dirtiedRows and
- // dirtiedColumns.
- const LayoutTableCell* primaryCellToPaint(
- unsigned row,
- unsigned column,
- const CellSpan& dirtiedRows,
- const CellSpan& dirtiedColumns) const;
-
enum ItemToPaint { PaintCollapsedBorders, PaintSection };
void paintRepeatingHeaderGroup(const PaintInfo&,
const LayoutPoint& paintOffset,

Powered by Google App Engine
This is Rietveld 408576698