diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-01-01 12:20:43 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-01-01 20:36:43 +0100 |
commit | c9f26dfd599bd50deac9e120bd54c9dbdfe40ae0 (patch) | |
tree | d275ef196a7d623d950f21a39ce8a7c989a996f9 /components/script/dom/domstringmap.rs | |
parent | 1290c1879415c80b374bc3ff6378aec899850048 (diff) | |
download | servo-c9f26dfd599bd50deac9e120bd54c9dbdfe40ae0.tar.gz servo-c9f26dfd599bd50deac9e120bd54c9dbdfe40ae0.zip |
Rename Root::root_ref() to Root::r().
As it will be used much more widely after the upcoming changes, this limits
the effort reading and writing the method calls.
Diffstat (limited to 'components/script/dom/domstringmap.rs')
-rw-r--r-- | components/script/dom/domstringmap.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/domstringmap.rs b/components/script/dom/domstringmap.rs index 39c08e32b87..268087a3533 100644 --- a/components/script/dom/domstringmap.rs +++ b/components/script/dom/domstringmap.rs @@ -29,7 +29,7 @@ impl DOMStringMap { pub fn new(element: JSRef<HTMLElement>) -> Temporary<DOMStringMap> { let window = window_from_node(element).root(); reflect_dom_object(box DOMStringMap::new_inherited(element), - GlobalRef::Window(window.root_ref()), DOMStringMapBinding::Wrap) + GlobalRef::Window(window.r()), DOMStringMapBinding::Wrap) } } |