Skip to content

Commit

Permalink
Remove Unnecessary Code in FileReader #6753
Browse files Browse the repository at this point in the history
  • Loading branch information
farodin91 committed Aug 5, 2015
1 parent 8602d01 commit 4162042
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions components/script/dom/filereader.rs
Expand Up @@ -423,11 +423,6 @@ fn perform_annotated_read_operation(gen_id: GenerationId, data: ReadMetaData, bl
}
};

let blobtype = data.blobtype.clone();
let label = data.label.clone();

let read_meta_data = ReadMetaData::new(blobtype, label, data.function);

let task = box FileReaderEvent::ProcessReadEOF(filereader, gen_id, read_meta_data, bytes);
let task = box FileReaderEvent::ProcessReadEOF(filereader, gen_id, data, bytes);
chan.send(ScriptMsg::RunnableMsg(task)).unwrap();
}

0 comments on commit 4162042

Please sign in to comment.