зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1850712 - Remove unused nsCheckboxRadioFrame::GetCurrentCheckState, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D187104
This commit is contained in:
Родитель
c2c6bce3a5
Коммит
dd6135f330
|
@ -161,13 +161,6 @@ nsresult nsCheckboxRadioFrame::HandleEvent(nsPresContext* aPresContext,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
void nsCheckboxRadioFrame::GetCurrentCheckState(bool* aState) {
|
||||
HTMLInputElement* inputElement = HTMLInputElement::FromNode(mContent);
|
||||
if (inputElement) {
|
||||
*aState = inputElement->Checked();
|
||||
}
|
||||
}
|
||||
|
||||
nsresult nsCheckboxRadioFrame::SetFormProperty(nsAtom* aName,
|
||||
const nsAString& aValue) {
|
||||
return NS_OK;
|
||||
|
|
|
@ -85,13 +85,6 @@ class nsCheckboxRadioFrame final : public nsAtomicContainerFrame,
|
|||
virtual ~nsCheckboxRadioFrame();
|
||||
|
||||
nscoord DefaultSize();
|
||||
|
||||
/**
|
||||
* Get the state of the checked attribute.
|
||||
* @param aState set to true if the checked attribute is set,
|
||||
* false if the checked attribute has been removed
|
||||
*/
|
||||
void GetCurrentCheckState(bool* aState);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче