aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/clientrect.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2014-03-04 14:13:58 +0100
committerMs2ger <ms2ger@gmail.com>2014-03-04 14:13:58 +0100
commit23b7277b5465d8dbf9cdf94f672688e7af9b89ab (patch)
tree32b18fe6e737e806582f986f028acac4868d582b /src/components/script/dom/clientrect.rs
parent6291aac1701430ec9c55ff852bbdd653a8a9acb4 (diff)
downloadservo-23b7277b5465d8dbf9cdf94f672688e7af9b89ab.tar.gz
servo-23b7277b5465d8dbf9cdf94f672688e7af9b89ab.zip
Pass &JS<Window> to reflect_dom_object.
Diffstat (limited to 'src/components/script/dom/clientrect.rs')
-rw-r--r--src/components/script/dom/clientrect.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/clientrect.rs b/src/components/script/dom/clientrect.rs
index e4fd8716c26..2e68044c115 100644
--- a/src/components/script/dom/clientrect.rs
+++ b/src/components/script/dom/clientrect.rs
@@ -36,7 +36,7 @@ impl ClientRect {
top: Au, bottom: Au,
left: Au, right: Au) -> JS<ClientRect> {
let rect = ClientRect::new_inherited(window.clone(), top, bottom, left, right);
- reflect_dom_object(~rect, window.get(), ClientRectBinding::Wrap)
+ reflect_dom_object(~rect, window, ClientRectBinding::Wrap)
}