From 2ad293ca64a3a7e513c0978f33b5e20cd55394ba Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 22 Aug 2016 17:45:36 -0400 Subject: Pass real values to the proxy handler setup. --- components/script/script_thread.rs | 7 ------- 1 file changed, 7 deletions(-) (limited to 'components/script/script_thread.rs') diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 33f7da41d20..e0e451bc120 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -59,7 +59,6 @@ use hyper_serde::Serde; use ipc_channel::ipc::{self, IpcSender}; use ipc_channel::router::ROUTER; use js::glue::GetWindowProxyClass; -use js::jsapi::{DOMProxyShadowsResult, HandleId, HandleObject}; use js::jsapi::{JSAutoCompartment, JSContext, JS_SetWrapObjectCallbacks}; use js::jsapi::{JSTracer, SetWindowProxyClass}; use js::jsval::UndefinedValue; @@ -484,12 +483,6 @@ impl ScriptThreadFactory for ScriptThread { } } -pub unsafe extern "C" fn shadow_check_callback(_cx: *mut JSContext, - _object: HandleObject, _id: HandleId) -> DOMProxyShadowsResult { - // XXX implement me - DOMProxyShadowsResult::ShadowCheckFailed -} - impl ScriptThread { pub fn page_headers_available(id: &PipelineId, subpage: Option<&SubpageId>, metadata: Option) -> Option { -- cgit v1.2.3