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

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

Issue 2502353003: Paint collapsed borders of a table as one display item (Closed)
Patch Set: - Created 4 years 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..9e33c0224b4a3b76dfbeed9e62555dbafc0bb749 100644
--- a/third_party/WebKit/Source/core/paint/TableSectionPainter.h
+++ b/third_party/WebKit/Source/core/paint/TableSectionPainter.h
@@ -6,6 +6,7 @@
#define TableSectionPainter_h
#include "core/paint/PaintPhase.h"
+#include "core/paint/PaintResult.h"
#include "core/style/ShadowData.h"
#include "wtf/Allocator.h"
@@ -26,9 +27,10 @@ class TableSectionPainter {
: m_layoutTableSection(layoutTableSection) {}
void paint(const PaintInfo&, const LayoutPoint&);
- void paintCollapsedBorders(const PaintInfo&,
- const LayoutPoint&,
- const CollapsedBorderValue&);
+
+ PaintResult paintCollapsedBorders(const PaintInfo&,
+ const LayoutPoint&,
+ const CollapsedBorderValue&);
private:
void paintObject(const PaintInfo&, const LayoutPoint&);
@@ -56,9 +58,9 @@ class TableSectionPainter {
const CollapsedBorderValue& currentBorderValue,
ItemToPaint);
void paintSection(const PaintInfo&, const LayoutPoint&);
- void paintCollapsedSectionBorders(const PaintInfo&,
- const LayoutPoint&,
- const CollapsedBorderValue&);
+ PaintResult paintCollapsedSectionBorders(const PaintInfo&,
+ const LayoutPoint&,
+ const CollapsedBorderValue&);
const LayoutTableSection& m_layoutTableSection;
};

Powered by Google App Engine
This is Rietveld 408576698