mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Format remaining files
This commit is contained in:
parent
bf47f90da6
commit
cb07debcb6
252 changed files with 5944 additions and 3744 deletions
|
@ -199,7 +199,8 @@ where
|
|||
..Default::default()
|
||||
},
|
||||
None,
|
||||
).expect("Unable to initialize webrender!")
|
||||
)
|
||||
.expect("Unable to initialize webrender!")
|
||||
};
|
||||
|
||||
let webrender_api = webrender_api_sender.create_api();
|
||||
|
@ -378,7 +379,10 @@ where
|
|||
WindowEvent::SendError(ctx, e) => {
|
||||
let msg = ConstellationMsg::SendError(ctx, e);
|
||||
if let Err(e) = self.constellation_chan.send(msg) {
|
||||
warn!("Sending SendError message to constellation failed ({:?}).", e);
|
||||
warn!(
|
||||
"Sending SendError message to constellation failed ({:?}).",
|
||||
e
|
||||
);
|
||||
}
|
||||
},
|
||||
}
|
||||
|
@ -397,14 +401,8 @@ where
|
|||
|
||||
(_, ShutdownState::ShuttingDown) => {},
|
||||
|
||||
(
|
||||
EmbedderMsg::Keyboard(key_event),
|
||||
ShutdownState::NotShuttingDown,
|
||||
) => {
|
||||
let event = (
|
||||
top_level_browsing_context,
|
||||
EmbedderMsg::Keyboard(key_event),
|
||||
);
|
||||
(EmbedderMsg::Keyboard(key_event), ShutdownState::NotShuttingDown) => {
|
||||
let event = (top_level_browsing_context, EmbedderMsg::Keyboard(key_event));
|
||||
self.embedder_events.push(event);
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue