mirror of
https://github.com/servo/servo.git
synced 2025-06-20 15:18:58 +01:00
Rename WrapperCache to Reflector.
I think the abstraction from the raw JSObject is still probably worthwhile for now.
This commit is contained in:
parent
0a0599ad9b
commit
2cbe2d7ce9
24 changed files with 81 additions and 81 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
use dom::bindings::codegen::HTMLDocumentBinding;
|
||||
use dom::bindings::utils::{DOMString, ErrorResult, Fallible, Traceable};
|
||||
use dom::bindings::utils::{Reflectable, BindingObject, WrapperCache};
|
||||
use dom::bindings::utils::{Reflectable, BindingObject, Reflector};
|
||||
use dom::document::{AbstractDocument, Document, WrappableDocument, HTML};
|
||||
use dom::element::HTMLHeadElementTypeId;
|
||||
use dom::htmlcollection::HTMLCollection;
|
||||
|
@ -201,7 +201,7 @@ impl HTMLDocument {
|
|||
}
|
||||
|
||||
impl Reflectable for HTMLDocument {
|
||||
fn get_wrappercache(&mut self) -> &mut WrapperCache {
|
||||
fn get_wrappercache(&mut self) -> &mut Reflector {
|
||||
self.parent.get_wrappercache()
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue