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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableSection.h

Issue 2890543002: Improve LayoutTable outer collapsed border calculation (Closed)
Patch Set: - Created 3 years, 7 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/LayoutTableSection.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.h b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
index 048b27d66d4ee7959aaea7fb3e203c5641567858..ada66931749aa75a9ea13ce338f265fe088338e2 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
@@ -206,17 +206,6 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent {
void AppendEffectiveColumn(unsigned pos);
void SplitEffectiveColumn(unsigned pos, unsigned first);
- enum BlockBorderSide { kBorderBefore, kBorderAfter };
- int CalcBlockDirectionOuterBorder(BlockBorderSide) const;
- enum InlineBorderSide { kBorderStart, kBorderEnd };
- int CalcInlineDirectionOuterBorder(InlineBorderSide) const;
- void RecalcOuterBorder();
-
- int OuterBorderBefore() const { return outer_border_before_; }
- int OuterBorderAfter() const { return outer_border_after_; }
- int OuterBorderStart() const { return outer_border_start_; }
- int OuterBorderEnd() const { return outer_border_end_; }
-
unsigned NumRows() const {
DCHECK(!NeedsCellRecalc());
return grid_.size();
@@ -436,11 +425,6 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent {
unsigned c_col_;
unsigned c_row_;
- int outer_border_start_;
- int outer_border_end_;
- int outer_border_before_;
- int outer_border_after_;
-
bool needs_cell_recalc_;
// This HashSet holds the overflowing cells for the partial paint path. If we

Powered by Google App Engine
This is Rietveld 408576698