diff options
author | Ms2ger <ms2ger@gmail.com> | 2013-10-18 17:02:16 +0200 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2013-10-18 17:02:16 +0200 |
commit | 321e0373fa0b4f9f0286cad316ee59798e905c96 (patch) | |
tree | 8bbe7f1206722ea0437a23367d44d156e9a05f0c /src/components/script/dom/validitystate.rs | |
parent | f585d218cbc74a37f43cdbc935223a0728d71a76 (diff) | |
download | servo-321e0373fa0b4f9f0286cad316ee59798e905c96.tar.gz servo-321e0373fa0b4f9f0286cad316ee59798e905c96.zip |
Merge BindingObject and Reflectable.
Diffstat (limited to 'src/components/script/dom/validitystate.rs')
-rw-r--r-- | src/components/script/dom/validitystate.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/script/dom/validitystate.rs b/src/components/script/dom/validitystate.rs index 523c2a0cb01..20c0cf211b0 100644 --- a/src/components/script/dom/validitystate.rs +++ b/src/components/script/dom/validitystate.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::{Reflector, BindingObject, Reflectable}; +use dom::bindings::utils::{Reflectable, Reflector}; use dom::bindings::codegen::ValidityStateBinding; use js::jsapi::{JSContext, JSObject}; @@ -70,9 +70,7 @@ impl Reflectable for ValidityState { fn wrap_object_shared(@mut self, cx: *JSContext, scope: *JSObject) -> *JSObject { ValidityStateBinding::Wrap(cx, scope, self) } -} -impl BindingObject for ValidityState { fn GetParentObject(&self, _cx: *JSContext) -> Option<@mut Reflectable> { None } |