diff options
author | Bobby Holley <bobbyholley@gmail.com> | 2013-10-08 20:44:42 +0200 |
---|---|---|
committer | Bobby Holley <bobbyholley@gmail.com> | 2013-10-09 12:13:18 +0200 |
commit | 622aa76515854f76d81635f312f6d989d369b4e1 (patch) | |
tree | 099c93b462bb8d0d61aa3d9ba559373be5f602dc /src/components/script/dom/htmldocument.rs | |
parent | 6bf740d967118dbbee5ae1a83e05086ee29344fd (diff) | |
download | servo-622aa76515854f76d81635f312f6d989d369b4e1.tar.gz servo-622aa76515854f76d81635f312f6d989d369b4e1.zip |
Rename WrappableDocument stuff.
Diffstat (limited to 'src/components/script/dom/htmldocument.rs')
-rw-r--r-- | src/components/script/dom/htmldocument.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/script/dom/htmldocument.rs b/src/components/script/dom/htmldocument.rs index a023e01e863..4e9732499fb 100644 --- a/src/components/script/dom/htmldocument.rs +++ b/src/components/script/dom/htmldocument.rs @@ -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 } } |