| Index: Source/core/layout/shapes/PolygonShape.h
|
| diff --git a/Source/core/layout/shapes/PolygonShape.h b/Source/core/layout/shapes/PolygonShape.h
|
| index 1ad286b1fa947470e8f86815b72a30e160958245..9c9036b3b1d7ae7dcb1fe28423b63acc507ea723 100644
|
| --- a/Source/core/layout/shapes/PolygonShape.h
|
| +++ b/Source/core/layout/shapes/PolygonShape.h
|
| @@ -44,8 +44,8 @@ public:
|
| {
|
| }
|
|
|
| - virtual const FloatPoint& vertex1() const override { return m_vertex1; }
|
| - virtual const FloatPoint& vertex2() const override { return m_vertex2; }
|
| + const FloatPoint& vertex1() const override { return m_vertex1; }
|
| + const FloatPoint& vertex2() const override { return m_vertex2; }
|
|
|
| bool isWithinYRange(float y1, float y2) const { return y1 <= minY() && y2 >= maxY(); }
|
| bool overlapsYRange(float y1, float y2) const { return y2 >= minY() && y1 <= maxY(); }
|
| @@ -66,10 +66,10 @@ public:
|
| {
|
| }
|
|
|
| - virtual LayoutRect shapeMarginLogicalBoundingBox() const override;
|
| - virtual bool isEmpty() const override { return m_polygon.isEmpty(); }
|
| - virtual LineSegment getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) const override;
|
| - virtual void buildDisplayPaths(DisplayPaths&) const override;
|
| + LayoutRect shapeMarginLogicalBoundingBox() const override;
|
| + bool isEmpty() const override { return m_polygon.isEmpty(); }
|
| + LineSegment getExcludedInterval(LayoutUnit logicalTop, LayoutUnit logicalHeight) const override;
|
| + void buildDisplayPaths(DisplayPaths&) const override;
|
|
|
| private:
|
| FloatPolygon m_polygon;
|
|
|