aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/browsercontext.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/browsercontext.rs')
-rw-r--r--components/script/dom/browsercontext.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/browsercontext.rs b/components/script/dom/browsercontext.rs
index b663327d5af..3391da89fea 100644
--- a/components/script/dom/browsercontext.rs
+++ b/components/script/dom/browsercontext.rs
@@ -80,7 +80,7 @@ impl SessionHistoryEntry {
}
}
-static proxy_handler: ProxyTraps = ProxyTraps {
+static PROXY_HANDLER: ProxyTraps = ProxyTraps {
getPropertyDescriptor: None,
getOwnPropertyDescriptor: None,
defineProperty: None,
@@ -114,6 +114,6 @@ static proxy_handler: ProxyTraps = ProxyTraps {
pub fn new_window_proxy_handler() -> WindowProxyHandler {
unsafe {
- WindowProxyHandler(CreateWrapperProxyHandler(&proxy_handler))
+ WindowProxyHandler(CreateWrapperProxyHandler(&PROXY_HANDLER))
}
}