mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Get rid of a bunch of explicit derefs
This commit is contained in:
parent
ca56ebbb09
commit
722aa86c89
49 changed files with 340 additions and 360 deletions
|
@ -58,7 +58,7 @@ impl HTMLMetaElement {
|
|||
if !content.is_empty() {
|
||||
if let Some(translated_rule) = ViewportRule::from_meta(&**content) {
|
||||
let win = window_from_node(self);
|
||||
let LayoutChan(ref layout_chan) = win.r().layout_chan();
|
||||
let LayoutChan(ref layout_chan) = win.layout_chan();
|
||||
|
||||
layout_chan.send(Msg::AddMetaViewport(translated_rule)).unwrap();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue