Bug 1463138: Remove unused nsIFrame::GetPseudoElement. r=mats

MozReview-Commit-ID: 4LFZibUS9DP
This commit is contained in:
Emilio Cobos Álvarez
2018-05-21 15:59:11 +02:00
parent f58b8ba214
commit d3d78dc6a7
14 changed files with 0 additions and 126 deletions

View File

@@ -743,35 +743,6 @@ nsNumberControlFrame::AnonTextControlIsEmpty()
return value.IsEmpty();
}
Element*
nsNumberControlFrame::GetPseudoElement(CSSPseudoElementType aType)
{
if (aType == CSSPseudoElementType::mozNumberWrapper) {
return mOuterWrapper;
}
if (aType == CSSPseudoElementType::mozNumberText) {
return mTextField;
}
if (aType == CSSPseudoElementType::mozNumberSpinBox) {
// Might be null.
return mSpinBox;
}
if (aType == CSSPseudoElementType::mozNumberSpinUp) {
// Might be null.
return mSpinUp;
}
if (aType == CSSPseudoElementType::mozNumberSpinDown) {
// Might be null.
return mSpinDown;
}
return nsContainerFrame::GetPseudoElement(aType);
}
#ifdef ACCESSIBILITY
a11y::AccType
nsNumberControlFrame::AccessibleType()