зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1375518 - Don't override GetBorderRadii in nsBCTableCellFrame. r=mattwoodrow
MozReview-Commit-ID: 7CSTDwuxm21 --HG-- extra : rebase_source : 769e34695412837e074b414578832afba10b58ef
This commit is contained in:
Родитель
4acbeaf8d1
Коммит
24047e52eb
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче