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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.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/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index e7dfbd5d600d8bd73e9b0dd773b26d280807bc38..41c3d05011de6cfa6eee51659284b878039422e6 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -1697,7 +1697,7 @@ LayoutTable* LayoutTable::CreateAnonymousWithParent(
return new_table;
}
-const BorderValue& LayoutTable::TableStartBorderAdjoiningCell(
+BorderValue LayoutTable::TableStartBorderAdjoiningCell(
const LayoutTableCell* cell) const {
#if DCHECK_IS_ON()
DCHECK(cell->IsFirstOrLastCellInRow());
@@ -1708,7 +1708,7 @@ const BorderValue& LayoutTable::TableStartBorderAdjoiningCell(
return Style()->BorderEnd();
}
-const BorderValue& LayoutTable::TableEndBorderAdjoiningCell(
+BorderValue LayoutTable::TableEndBorderAdjoiningCell(
const LayoutTableCell* cell) const {
#if DCHECK_IS_ON()
DCHECK(cell->IsFirstOrLastCellInRow());
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTable.h ('k') | third_party/WebKit/Source/core/layout/LayoutTableBoxComponent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698