Bug 1326409 Part 1 - Annotate EllipseShapeInfo as 'final'. r=dholbert

MozReview-Commit-ID: IReCWO8JRSQ
This commit is contained in:
Ting-Yu Lin 2017-03-13 12:03:39 +08:00
Родитель 5aa31ac64d
Коммит 45e26b7d07
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -462,7 +462,7 @@ private:
};
// Implements shape-outside: circle() and shape-outside: ellipse().
class EllipseShapeInfo : public ShapeInfo
class EllipseShapeInfo final : public ShapeInfo
{
public:
EllipseShapeInfo(const nsPoint& aCenter,
@ -486,7 +486,7 @@ private:
mCenter.MoveBy(aLineLeft, aBlockStart);
}
protected:
private:
// The position of the center of the ellipse. The coordinate space is the
// same as FloatInfo::mRect.
nsPoint mCenter;