aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/callback.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-01 12:21:47 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-01 20:38:04 +0100
commit6077ed0ce8eceff97284657d3ae90ec08c9da810 (patch)
tree5dcb662e3476550c9242b94e79bfb9becb340f78 /components/script/dom/bindings/callback.rs
parentd09d245ee1c0d6e095a29327555940f1256fc1e4 (diff)
downloadservo-6077ed0ce8eceff97284657d3ae90ec08c9da810.tar.gz
servo-6077ed0ce8eceff97284657d3ae90ec08c9da810.zip
Rename GlobalRoot::root_ref() to GlobalRoot::r() for consistency.
Diffstat (limited to 'components/script/dom/bindings/callback.rs')
-rw-r--r--components/script/dom/bindings/callback.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/callback.rs b/components/script/dom/bindings/callback.rs
index 56690bcfd41..bd6cf907220 100644
--- a/components/script/dom/bindings/callback.rs
+++ b/components/script/dom/bindings/callback.rs
@@ -147,7 +147,7 @@ impl CallSetup {
pub fn new<T: CallbackContainer>(callback: T, handling: ExceptionHandling) -> CallSetup {
let global = global_object_for_js_object(callback.callback());
let global = global.root();
- let cx = global.root_ref().get_cx();
+ let cx = global.r().get_cx();
CallSetup {
cx: cx,
_handling: handling