mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #21282 - felixrabe:patch-2, r=jdm
Code style: Use canonical naming and formatting <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21282) <!-- Reviewable:end -->
This commit is contained in:
commit
78e90d6358
1 changed files with 4 additions and 4 deletions
|
@ -279,10 +279,10 @@ impl Browser {
|
|||
self.event_queue.push(WindowEvent::SendError(browser_id, reason));
|
||||
}
|
||||
}
|
||||
EmbedderMsg::AllowNavigation(_url, response_chan) => {
|
||||
if let Err(e) = response_chan.send(true) {
|
||||
warn!("Failed to send allow_navigation() response: {}", e);
|
||||
};
|
||||
EmbedderMsg::AllowNavigation(_url, sender) => {
|
||||
if let Err(e) = sender.send(true) {
|
||||
warn!("Failed to send AllowNavigation response: {}", e);
|
||||
}
|
||||
}
|
||||
EmbedderMsg::KeyEvent(ch, key, state, modified) => {
|
||||
self.handle_key_from_servo(browser_id, ch, key, state, modified);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue