mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
auto merge of #1151 : guersam/servo/patch-1, r=metajack
Just a trivial fix.
This commit is contained in:
commit
1a7e9e5e2c
1 changed files with 3 additions and 3 deletions
|
@ -230,7 +230,7 @@ pub fn run_compositor(compositor: &CompositorTask) {
|
|||
window_size = new_size;
|
||||
match constellation_chan {
|
||||
Some(ref chan) => chan.send(ResizedWindowMsg(new_size)),
|
||||
None => error!("Compositor: Recieved resize event without initialized layout chan"),
|
||||
None => error!("Compositor: Received resize event without initialized layout chan"),
|
||||
}
|
||||
} else {
|
||||
debug!("osmain: dropping window resize since size is still %ux%u", width, height);
|
||||
|
@ -247,7 +247,7 @@ pub fn run_compositor(compositor: &CompositorTask) {
|
|||
Some(ref chan) => chan.send(LoadUrlMsg(root_pipeline_id,
|
||||
url::make_url(url_string.to_str(), None),
|
||||
Future::from_value(window_size))),
|
||||
None => error!("Compositor: Recieved loadurl event without initialized layout chan"),
|
||||
None => error!("Compositor: Received loadurl event without initialized layout chan"),
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -305,7 +305,7 @@ pub fn run_compositor(compositor: &CompositorTask) {
|
|||
};
|
||||
match constellation_chan {
|
||||
Some(ref chan) => chan.send(NavigateMsg(direction)),
|
||||
None => error!("Compositor: Recieved navigation event without initialized layout chan"),
|
||||
None => error!("Compositor: Received navigation event without initialized layout chan"),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue