diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-05-13 14:20:00 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-11 19:44:32 +0200 |
commit | 0b3ab875f4c99f63d6caa9be528890ad98b1b2b7 (patch) | |
tree | 4139e748dd73a729f5a84c277e90f3f15e0df85a /components/script/devtools.rs | |
parent | 51bcf516c831f60a6fc05d970df5fad99730558e (diff) | |
download | servo-0b3ab875f4c99f63d6caa9be528890ad98b1b2b7.tar.gz servo-0b3ab875f4c99f63d6caa9be528890ad98b1b2b7.zip |
Remove intrinsic Root::r()
Diffstat (limited to 'components/script/devtools.rs')
-rw-r--r-- | components/script/devtools.rs | 2 |
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()), |