Move image cache implementation to the net crate

This commit is contained in:
Fernando Jiménez Moreno 2017-03-21 17:32:48 +01:00
parent 72d7ee613b
commit 166c4e8bb2
11 changed files with 580 additions and 534 deletions

View file

@ -508,7 +508,8 @@ pub trait ScriptThreadFactory {
/// Type of message sent from script to layout.
type Message;
/// Create a `ScriptThread`.
fn create(state: InitialScriptState, load_data: LoadData) -> (Sender<Self::Message>, Receiver<Self::Message>);
fn create(state: InitialScriptState, load_data: LoadData)
-> (Sender<Self::Message>, Receiver<Self::Message>);
}
/// Whether the sandbox attribute is present for an iframe element