Backed out changeset ec4e3e080c1c because it introduces linting failures.

MANUAL PUSH: fast backout
This commit is contained in:
Boris Zbarsky
2020-02-06 12:44:12 -05:00
parent 483b229495
commit f3d9cda579
3 changed files with 0 additions and 70 deletions

View File

@@ -922,10 +922,6 @@ void nsDocShell::MaybeHandleSubframeHistory(nsDocShellLoadState* aLoadState) {
*/
NS_IMETHODIMP
nsDocShell::PrepareForNewContentModel() {
// Clear out our form control state, because the state of controls
// in the pre-open() document should not affect the state of
// controls that are now going to be written.
SetLayoutHistoryState(nullptr);
mEODForCurrentDocument = false;
return NS_OK;
}