mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Rename constellation_msg::Msg variants.
This commit is contained in:
parent
d5cc791d31
commit
de0caf8761
11 changed files with 85 additions and 82 deletions
|
@ -30,7 +30,9 @@ use compositing::windowing::{WindowEvent, WindowMethods};
|
|||
#[cfg(not(test))]
|
||||
use compositing::{CompositorProxy, CompositorTask, Constellation};
|
||||
#[cfg(not(test))]
|
||||
use servo_msg::constellation_msg::{ConstellationChan, InitLoadUrlMsg};
|
||||
use servo_msg::constellation_msg::Msg as ConstellationMsg;
|
||||
#[cfg(not(test))]
|
||||
use servo_msg::constellation_msg::ConstellationChan;
|
||||
#[cfg(not(test))]
|
||||
use script::dom::bindings::codegen::RegisterBindings;
|
||||
|
||||
|
@ -120,7 +122,7 @@ impl<Window> Browser<Window> where Window: WindowMethods + 'static {
|
|||
};
|
||||
|
||||
let ConstellationChan(ref chan) = constellation_chan;
|
||||
chan.send(InitLoadUrlMsg(url));
|
||||
chan.send(ConstellationMsg::InitLoadUrl(url));
|
||||
}
|
||||
|
||||
// Send the constallation Chan as the result
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue