Code style: Use canonical naming and formatting

This commit is contained in:
Felix Rabe 2018-07-30 11:16:37 +02:00 committed by GitHub
parent de48f25d0b
commit 290341a499
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -273,9 +273,9 @@ impl Browser {
self.event_queue.push(WindowEvent::SendError(browser_id, reason)); self.event_queue.push(WindowEvent::SendError(browser_id, reason));
} }
} }
EmbedderMsg::AllowNavigation(_url, response_chan) => { EmbedderMsg::AllowNavigation(_url, sender) => {
if let Err(e) = response_chan.send(true) { if let Err(e) = sender.send(true) {
warn!("Failed to send allow_navigation() response: {}", e); warn!("Failed to send AllowNavigation response: {}", e);
}; };
} }
EmbedderMsg::KeyEvent(ch, key, state, modified) => { EmbedderMsg::KeyEvent(ch, key, state, modified) => {