mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Remove generate_cacheable_wrapper_characterdata!
This commit is contained in:
parent
52b5d2575c
commit
fe1644f316
4 changed files with 21 additions and 12 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue