diff options
author | Josh Matthews <josh@joshmatthews.net> | 2016-08-22 17:45:36 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2016-08-25 00:11:38 -0400 |
commit | 2ad293ca64a3a7e513c0978f33b5e20cd55394ba (patch) | |
tree | d60ca9cfc7bdbdd4e0a7743f56b4465263e74dca /components/script/script_thread.rs | |
parent | 3c4a08c016c0fd62496bcc7ffdbe850ce8813ccd (diff) | |
download | servo-2ad293ca64a3a7e513c0978f33b5e20cd55394ba.tar.gz servo-2ad293ca64a3a7e513c0978f33b5e20cd55394ba.zip |
Pass real values to the proxy handler setup.
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 7 |
1 files changed, 0 insertions, 7 deletions
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<Metadata>) -> Option<ParserRoot> { |