diff options
Diffstat (limited to 'components/script/dom/bindings/utils.rs')
-rw-r--r-- | components/script/dom/bindings/utils.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/bindings/utils.rs b/components/script/dom/bindings/utils.rs index ba887934798..adc96c45305 100644 --- a/components/script/dom/bindings/utils.rs +++ b/components/script/dom/bindings/utils.rs @@ -395,7 +395,7 @@ pub unsafe extern "C" fn outerize_global(_cx: *mut JSContext, obj: HandleObject) debug!("outerizing"); let win = root_from_handleobject::<window::Window>(obj).unwrap(); let context = win.browsing_context(); - context.as_ref().unwrap().window_proxy() + context.window_proxy() } /// Deletes the property `id` from `object`. |