diff options
Diffstat (limited to 'src/components/script/dom/clientrect.rs')
-rw-r--r-- | src/components/script/dom/clientrect.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/script/dom/clientrect.rs b/src/components/script/dom/clientrect.rs index 543ea2a5f88..2c76bada0d2 100644 --- a/src/components/script/dom/clientrect.rs +++ b/src/components/script/dom/clientrect.rs @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -use dom::bindings::utils::{Reflectable, Reflector, BindingObject}; +use dom::bindings::utils::{Reflectable, Reflector}; use dom::bindings::codegen::ClientRectBinding; use script_task::page_from_context; @@ -70,9 +70,7 @@ impl Reflectable for ClientRect { fn wrap_object_shared(@mut self, cx: *JSContext, scope: *JSObject) -> *JSObject { ClientRectBinding::Wrap(cx, scope, self) } -} -impl BindingObject for ClientRect { fn GetParentObject(&self, cx: *JSContext) -> Option<@mut Reflectable> { let page = page_from_context(cx); unsafe { |