internal void PopInputDocument() { Debug.Assert(_input != null); Debug.Assert(_input.Atoms == _atoms); NavigatorInput lastInput = _input; _input = lastInput.Next; lastInput.Next = null; if (_input != null) { _atoms = _input.Atoms; _scopeManager = _input.InputScopeManager; } else { _atoms = null; _scopeManager = null; } RemoveDocumentURI(lastInput.Href); lastInput.Close(); }
internal void PopInputDocument() { Debug.Assert(this.input != null); Debug.Assert(this.input.Atoms == this.atoms); NavigatorInput lastInput = this.input; this.input = lastInput.Next; lastInput.Next = null; if (this.input != null) { this.atoms = this.input.Atoms; this.scopeManager = this.input.InputScopeManager; } else { this.atoms = null; this.scopeManager = null; } RemoveDocumentURI(lastInput.Href); lastInput.Close(); }