| Index: third_party/WebKit/Source/core/layout/LayoutTable.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.h b/third_party/WebKit/Source/core/layout/LayoutTable.h
|
| index 529dacd6f4774436a98b77b6de5702a8a849e004..23b4428273203e26244c514bd81d5da4276faea0 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTable.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTable.h
|
| @@ -115,33 +115,33 @@ public:
|
|
|
| bool collapseBorders() const { return style()->borderCollapse(); }
|
|
|
| - int borderStart() const override { return m_borderStart; }
|
| - int borderEnd() const override { return m_borderEnd; }
|
| - int borderBefore() const override;
|
| - int borderAfter() const override;
|
| + LayoutUnit borderStart() const override { return m_borderStart; }
|
| + LayoutUnit borderEnd() const override { return m_borderEnd; }
|
| + LayoutUnit borderBefore() const override;
|
| + LayoutUnit borderAfter() const override;
|
|
|
| - int borderLeft() const override
|
| + LayoutUnit borderLeft() const override
|
| {
|
| if (style()->isHorizontalWritingMode())
|
| return style()->isLeftToRightDirection() ? borderStart() : borderEnd();
|
| return style()->isFlippedBlocksWritingMode() ? borderAfter() : borderBefore();
|
| }
|
|
|
| - int borderRight() const override
|
| + LayoutUnit borderRight() const override
|
| {
|
| if (style()->isHorizontalWritingMode())
|
| return style()->isLeftToRightDirection() ? borderEnd() : borderStart();
|
| return style()->isFlippedBlocksWritingMode() ? borderBefore() : borderAfter();
|
| }
|
|
|
| - int borderTop() const override
|
| + LayoutUnit borderTop() const override
|
| {
|
| if (style()->isHorizontalWritingMode())
|
| return style()->isFlippedBlocksWritingMode() ? borderAfter() : borderBefore();
|
| return style()->isLeftToRightDirection() ? borderStart() : borderEnd();
|
| }
|
|
|
| - int borderBottom() const override
|
| + LayoutUnit borderBottom() const override
|
| {
|
| if (style()->isHorizontalWritingMode())
|
| return style()->isFlippedBlocksWritingMode() ? borderBefore() : borderAfter();
|
|
|