aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/devtools.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/devtools.rs')
-rw-r--r--components/script/devtools.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/devtools.rs b/components/script/devtools.rs
index dcaee91c843..f8517ae0dba 100644
--- a/components/script/devtools.rs
+++ b/components/script/devtools.rs
@@ -146,7 +146,7 @@ pub fn handle_get_layout(context: &BrowsingContext,
let window = context.active_window();
let elem = node.downcast::<Element>().expect("should be getting layout of element");
- let computed_style = window.r().GetComputedStyle(elem, None);
+ let computed_style = window.GetComputedStyle(elem, None);
reply.send(Some(ComputedNodeLayout {
display: String::from(computed_style.Display()),