| Index: Source/core/rendering/style/GridPosition.h
|
| diff --git a/Source/core/rendering/style/GridPosition.h b/Source/core/rendering/style/GridPosition.h
|
| index 778e453bc1524d704b6038d57126ff1ff41bdceb..bb404909546f68d114baf4c06bdc19c468e996c9 100644
|
| --- a/Source/core/rendering/style/GridPosition.h
|
| +++ b/Source/core/rendering/style/GridPosition.h
|
| @@ -42,13 +42,6 @@ enum GridPositionType {
|
| NamedGridAreaPosition // <ident>
|
| };
|
|
|
| -enum GridPositionSide {
|
| - ColumnStartSide,
|
| - ColumnEndSide,
|
| - RowStartSide,
|
| - RowEndSide
|
| -};
|
| -
|
| class GridPosition {
|
| public:
|
| GridPosition()
|
| @@ -57,20 +50,6 @@ public:
|
| {
|
| }
|
|
|
| - static size_t adjustGridPositionForAfterEndSide(size_t resolvedPosition)
|
| - {
|
| - return resolvedPosition ? resolvedPosition - 1 : 0;
|
| - }
|
| -
|
| - static size_t adjustGridPositionForSide(size_t resolvedPosition, GridPositionSide side)
|
| - {
|
| - // An item finishing on the N-th line belongs to the N-1-th cell.
|
| - if (side == ColumnEndSide || side == RowEndSide)
|
| - return adjustGridPositionForAfterEndSide(resolvedPosition);
|
| -
|
| - return resolvedPosition;
|
| - }
|
| -
|
| bool isPositive() const { return integerPosition() > 0; }
|
|
|
| GridPositionType type() const { return m_type; }
|
|
|