Remove generate_cacheable_wrapper_characterdata!

This commit is contained in:
Tetsuharu OHZEKI 2014-06-28 03:29:35 +09:00
parent 52b5d2575c
commit fe1644f316
4 changed files with 21 additions and 12 deletions

View file

@ -5,6 +5,7 @@
use dom::bindings::codegen::Bindings::ProcessingInstructionBinding;
use dom::bindings::codegen::InheritTypes::ProcessingInstructionDerived;
use dom::bindings::js::{JSRef, Temporary};
use dom::bindings::utils::{Reflectable, Reflector};
use dom::characterdata::CharacterData;
use dom::document::Document;
use dom::eventtarget::{EventTarget, NodeTargetTypeId};
@ -47,3 +48,9 @@ impl<'a> ProcessingInstructionMethods for JSRef<'a, ProcessingInstruction> {
self.target.clone()
}
}
impl Reflectable for ProcessingInstruction {
fn reflector<'a>(&'a self) -> &'a Reflector {
self.characterdata.reflector()
}
}