mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Remove generate_cacheable_wrapper_node!
This commit is contained in:
parent
777e6a0756
commit
6b153834c9
3 changed files with 14 additions and 10 deletions
|
@ -6,6 +6,7 @@ use dom::bindings::codegen::InheritTypes::{DocumentFragmentDerived, NodeCast};
|
|||
use dom::bindings::codegen::Bindings::DocumentFragmentBinding;
|
||||
use dom::bindings::js::{JSRef, Temporary};
|
||||
use dom::bindings::error::Fallible;
|
||||
use dom::bindings::utils::{Reflectable, Reflector};
|
||||
use dom::document::Document;
|
||||
use dom::element::Element;
|
||||
use dom::eventtarget::{EventTarget, NodeTargetTypeId};
|
||||
|
@ -73,3 +74,9 @@ impl<'a> DocumentFragmentMethods for JSRef<'a, DocumentFragment> {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
impl Reflectable for DocumentFragment {
|
||||
fn reflector<'a>(&'a self) -> &'a Reflector {
|
||||
self.node.reflector()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue