diff options
Diffstat (limited to 'components/script/dom/servohtmlparser.rs')
-rw-r--r-- | components/script/dom/servohtmlparser.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/servohtmlparser.rs b/components/script/dom/servohtmlparser.rs index 3465dc723fc..6a0c89357c5 100644 --- a/components/script/dom/servohtmlparser.rs +++ b/components/script/dom/servohtmlparser.rs @@ -159,7 +159,7 @@ impl AsyncResponseListener for ParserContext { Some(parser) => parser.root(), None => return, }; - parser.r().parse_chunk(data); + parser.parse_chunk(data); } } @@ -175,9 +175,9 @@ impl AsyncResponseListener for ParserContext { // TODO(Savago): we should send a notification to callers #5463. } - parser.r().last_chunk_received.set(true); - if !parser.r().is_suspended() { - parser.r().parse_sync(); + parser.last_chunk_received.set(true); + if !parser.is_suspended() { + parser.parse_sync(); } } } |