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

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

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.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.h b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
index 8586c49858f28d7464d2850df116477a8cd486ec..5ff2ada4cc3499d44bcbac6968a4d6f66e5db349 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.h
@@ -201,22 +201,22 @@ class CORE_EXPORT LayoutTableSection final : public LayoutTableBoxComponent {
bool is_any_row_with_only_spanning_cells;
};
- const BorderValue& BorderAdjoiningTableStart() const {
+ BorderValue BorderAdjoiningTableStart() const {
if (HasSameDirectionAs(Table()))
return Style()->BorderStart();
return Style()->BorderEnd();
}
- const BorderValue& BorderAdjoiningTableEnd() const {
+ BorderValue BorderAdjoiningTableEnd() const {
if (HasSameDirectionAs(Table()))
return Style()->BorderEnd();
return Style()->BorderStart();
}
- const BorderValue& BorderAdjoiningStartCell(const LayoutTableCell*) const;
- const BorderValue& BorderAdjoiningEndCell(const LayoutTableCell*) const;
+ BorderValue BorderAdjoiningStartCell(const LayoutTableCell*) const;
+ BorderValue BorderAdjoiningEndCell(const LayoutTableCell*) const;
const LayoutTableCell* FirstRowCellAdjoiningTableStart() const;
const LayoutTableCell* FirstRowCellAdjoiningTableEnd() const;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableRow.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableSection.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698