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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableRow.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/LayoutTableRow.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableRow.h b/third_party/WebKit/Source/core/layout/LayoutTableRow.h
index 38c748d36c548f6ef7561842ad50b51a078de042..9f81f4c5a716cd5e75f0bdfd2591c25855afeca0 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableRow.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTableRow.h
@@ -101,22 +101,22 @@ class CORE_EXPORT LayoutTableRow final : public LayoutTableBoxComponent {
return row_index_;
}
- const BorderValue& BorderAdjoiningTableStart() const {
+ BorderValue BorderAdjoiningTableStart() const {
if (Section()->HasSameDirectionAs(Table()))
return Style()->BorderStart();
return Style()->BorderEnd();
}
- const BorderValue& BorderAdjoiningTableEnd() const {
+ BorderValue BorderAdjoiningTableEnd() const {
if (Section()->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;
bool NodeAtPoint(HitTestResult&,
const HitTestLocation& location_in_container,
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTableCol.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutTableRow.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698