diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-08 15:48:47 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-11 15:00:11 +0200 |
commit | e1a1bf46cadd1787f543ed75d24c35bf2ae79092 (patch) | |
tree | eaeaa2696c8c72e5820672fbb496f4c9d5c16660 /components/script/parse/mod.rs | |
parent | 27f245e6aeb9a690bf6367789045b7ff142a7b63 (diff) | |
download | servo-e1a1bf46cadd1787f543ed75d24c35bf2ae79092.tar.gz servo-e1a1bf46cadd1787f543ed75d24c35bf2ae79092.zip |
Move pending input logic to ServoParser
Diffstat (limited to 'components/script/parse/mod.rs')
-rw-r--r-- | components/script/parse/mod.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/components/script/parse/mod.rs b/components/script/parse/mod.rs index 52493d3bb71..30f6bc158a6 100644 --- a/components/script/parse/mod.rs +++ b/components/script/parse/mod.rs @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -use dom::bindings::cell::DOMRefCell; use dom::bindings::inheritance::Castable; use dom::bindings::js::{JS, Root}; use dom::bindings::refcounted::Trusted; @@ -147,13 +146,6 @@ impl<'a> ParserRef<'a> { } } - pub fn pending_input(&self) -> &DOMRefCell<Vec<String>> { - match *self { - ParserRef::HTML(parser) => parser.pending_input(), - ParserRef::XML(parser) => parser.pending_input(), - } - } - pub fn set_plaintext_state(&self) { match *self { ParserRef::HTML(parser) => parser.set_plaintext_state(), |