Bug 1375518 - Don't override GetBorderRadii in nsBCTableCellFrame. r=mattwoodrow

MozReview-Commit-ID: 7CSTDwuxm21

--HG--
extra : rebase_source : 769e34695412837e074b414578832afba10b58ef
This commit is contained in:
Morris Tseng 2017-07-18 10:54:11 +08:00
Родитель 4acbeaf8d1
Коммит 24047e52eb
2 изменённых файлов: 0 добавлений и 16 удалений

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

@ -1107,18 +1107,6 @@ nsBCTableCellFrame::GetUsedBorder() const
return GetBorderWidth(wm).GetPhysicalMargin(wm);
}
/* virtual */ bool
nsBCTableCellFrame::GetBorderRadii(const nsSize& aFrameSize,
const nsSize& aBorderArea,
Sides aSkipSides,
nscoord aRadii[8]) const
{
NS_FOR_CSS_HALF_CORNERS(corner) {
aRadii[corner] = 0;
}
return false;
}
#ifdef DEBUG_FRAME_DUMP
nsresult
nsBCTableCellFrame::GetFrameName(nsAString& aResult) const

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

@ -305,10 +305,6 @@ public:
~nsBCTableCellFrame();
virtual nsMargin GetUsedBorder() const override;
virtual bool GetBorderRadii(const nsSize& aFrameSize,
const nsSize& aBorderArea,
Sides aSkipSides,
nscoord aRadii[8]) const override;
// Get the *inner half of the border only*, in twips.
virtual LogicalMargin GetBorderWidth(WritingMode aWM) const override;