diff options
Diffstat (limited to 'src/components/script/dom/clientrect.rs')
-rw-r--r-- | src/components/script/dom/clientrect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/script/dom/clientrect.rs b/src/components/script/dom/clientrect.rs index 316269bfc56..65d648c9448 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) -> Temporary<ClientRect> { let rect = ClientRect::new_inherited(window, top, bottom, left, right); - reflect_dom_object(~rect, window, ClientRectBinding::Wrap) + reflect_dom_object(box rect, window, ClientRectBinding::Wrap) } } |