rename of page_fetch_complete and handle_page_fetch_complete

rename

align
This commit is contained in:
Rafael Quintero 2016-05-27 18:02:14 -04:00
parent fc1e74c550
commit 71104c8619
2 changed files with 8 additions and 8 deletions

View file

@ -94,9 +94,9 @@ impl AsyncResponseListener for ParserContext {
Err(_) => None,
};
let content_type = metadata.clone().and_then(|meta| meta.content_type);
let parser = match ScriptThread::page_fetch_complete(&self.id,
self.subpage.as_ref(),
metadata) {
let parser = match ScriptThread::page_headers_available(&self.id,
self.subpage.as_ref(),
metadata) {
Some(parser) => parser,
None => return,
};