Bug 1728537 - Part 2: Move RestoreState out of nsIFormControl; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D124180
This commit is contained in:
@@ -1282,8 +1282,6 @@ void HTMLSelectElement::SaveState() {
|
||||
}
|
||||
}
|
||||
|
||||
// nsIFormControl
|
||||
|
||||
bool HTMLSelectElement::RestoreState(PresState* aState) {
|
||||
// Get the presentation state object to retrieve our stuff out of.
|
||||
const PresContentData& state = aState->contentData();
|
||||
@@ -1335,6 +1333,8 @@ void HTMLSelectElement::RestoreStateTo(const SelectContentData& aNewSelected) {
|
||||
}
|
||||
}
|
||||
|
||||
// nsIFormControl
|
||||
|
||||
NS_IMETHODIMP
|
||||
HTMLSelectElement::Reset() {
|
||||
uint32_t numSelected = 0;
|
||||
|
||||
Reference in New Issue
Block a user