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

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

Issue 2861773004: Move border-*-width out of BorderValue and store on SurroundData in ComputedStyle instead (Closed)
Patch Set: meade@'s suggestion 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.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
index 275532bb4fd737759e67a6f72a4a27292d04d4dc..12bac45816313d246849d6f087911212e49f001b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
@@ -1757,7 +1757,7 @@ unsigned LayoutTableSection::NumEffectiveColumns() const {
return result + 1;
}
-const BorderValue& LayoutTableSection::BorderAdjoiningStartCell(
+BorderValue LayoutTableSection::BorderAdjoiningStartCell(
const LayoutTableCell* cell) const {
#if DCHECK_IS_ON()
DCHECK(cell->IsFirstOrLastCellInRow());
@@ -1766,7 +1766,7 @@ const BorderValue& LayoutTableSection::BorderAdjoiningStartCell(
: Style()->BorderEnd();
}
-const BorderValue& LayoutTableSection::BorderAdjoiningEndCell(
+BorderValue LayoutTableSection::BorderAdjoiningEndCell(
const LayoutTableCell* cell) const {
#if DCHECK_IS_ON()
DCHECK(cell->IsFirstOrLastCellInRow());
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableSection.h ('k') | third_party/WebKit/Source/core/style/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698