From 6077ed0ce8eceff97284657d3ae90ec08c9da810 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Thu, 1 Jan 2015 12:21:47 +0100 Subject: Rename GlobalRoot::root_ref() to GlobalRoot::r() for consistency. --- components/script/dom/bindings/callback.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/script/dom/bindings/callback.rs') 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(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 -- cgit v1.2.3