Rename WrappableDocument stuff.

This commit is contained in:
Bobby Holley 2013-10-08 20:44:42 +02:00
parent 6bf740d967
commit 622aa76515
2 changed files with 9 additions and 9 deletions

View file

@ -5,7 +5,7 @@
use dom::bindings::codegen::HTMLDocumentBinding;
use dom::bindings::utils::{DOMString, ErrorResult, Fallible, Traceable};
use dom::bindings::utils::{Reflectable, BindingObject, Reflector};
use dom::document::{AbstractDocument, Document, WrappableDocument, HTML};
use dom::document::{AbstractDocument, Document, ReflectableDocument, HTML};
use dom::element::HTMLHeadElementTypeId;
use dom::htmlcollection::HTMLCollection;
use dom::node::{AbstractNode, ScriptView, ElementNodeTypeId};
@ -42,8 +42,8 @@ impl HTMLDocument {
}
}
impl WrappableDocument for HTMLDocument {
fn init_wrapper(@mut self, cx: *JSContext) {
impl ReflectableDocument for HTMLDocument {
fn init_reflector(@mut self, cx: *JSContext) {
self.wrap_object_shared(cx, ptr::null()); //XXXjdm a proper scope would be nice
}
}