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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableRow.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/LayoutTableRow.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
index a2b8f5d5a253ddc953d75c7d6270bb10bb158fa0..868e375fb07a56086e4e4af09129c67807bd51fa 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.cpp
@@ -98,7 +98,7 @@ void LayoutTableRow::StyleDidChange(StyleDifference diff,
}
}
-const BorderValue& LayoutTableRow::BorderAdjoiningStartCell(
+BorderValue LayoutTableRow::BorderAdjoiningStartCell(
const LayoutTableCell* cell) const {
#if DCHECK_IS_ON()
DCHECK(cell->IsFirstOrLastCellInRow());
@@ -108,7 +108,7 @@ const BorderValue& LayoutTableRow::BorderAdjoiningStartCell(
return Style()->BorderStart();
}
-const BorderValue& LayoutTableRow::BorderAdjoiningEndCell(
+BorderValue LayoutTableRow::BorderAdjoiningEndCell(
const LayoutTableCell* cell) const {
#if DCHECK_IS_ON()
DCHECK(cell->IsFirstOrLastCellInRow());
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableRow.h ('k') | third_party/WebKit/Source/core/layout/LayoutTableSection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698