mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -240,10 +240,12 @@ impl Pipeline {
|
|||
Err(e) => {
|
||||
error!("Cast to ScriptToDevtoolsControlMsg failed ({}).", e)
|
||||
},
|
||||
Ok(message) => if let Err(e) =
|
||||
devtools_chan.send(DevtoolsControlMsg::FromScript(message))
|
||||
{
|
||||
warn!("Sending to devtools failed ({:?})", e)
|
||||
Ok(message) => {
|
||||
if let Err(e) =
|
||||
devtools_chan.send(DevtoolsControlMsg::FromScript(message))
|
||||
{
|
||||
warn!("Sending to devtools failed ({:?})", e)
|
||||
}
|
||||
},
|
||||
},
|
||||
),
|
||||
|
@ -430,8 +432,7 @@ impl Pipeline {
|
|||
|
||||
/// Notify the script thread that this pipeline is visible.
|
||||
pub fn notify_visibility(&self, is_visible: bool) {
|
||||
let script_msg =
|
||||
ConstellationControlMsg::ChangeFrameVisibilityStatus(self.id, is_visible);
|
||||
let script_msg = ConstellationControlMsg::ChangeFrameVisibilityStatus(self.id, is_visible);
|
||||
let compositor_msg = CompositorMsg::PipelineVisibilityChanged(self.id, is_visible);
|
||||
let err = self.event_loop.send(script_msg);
|
||||
if let Err(e) = err {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue