mirror of
https://github.com/servo/servo.git
synced 2025-06-24 00:54:32 +01:00
Remove unused DerivedWrapper implementations.
This commit is contained in:
parent
3da1a206d8
commit
f585d218cb
7 changed files with 14 additions and 57 deletions
|
@ -2,11 +2,11 @@
|
|||
* 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, DerivedWrapper};
|
||||
use dom::bindings::utils::{Reflectable, Reflector, BindingObject};
|
||||
use dom::bindings::codegen::ClientRectBinding;
|
||||
use script_task::page_from_context;
|
||||
|
||||
use js::jsapi::{JSObject, JSContext, JSVal};
|
||||
use js::jsapi::{JSObject, JSContext};
|
||||
|
||||
pub struct ClientRect {
|
||||
reflector_: Reflector,
|
||||
|
@ -80,9 +80,3 @@ impl BindingObject for ClientRect {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl DerivedWrapper for ClientRect {
|
||||
fn wrap(&mut self, _cx: *JSContext, _scope: *JSObject, _vp: *mut JSVal) -> i32 {
|
||||
fail!(~"nyi")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue