aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-05-13 15:34:38 +0200
committerMs2ger <Ms2ger@gmail.com>2016-05-13 15:34:38 +0200
commit735480c18413db18bc77f4ae828715a8c155b017 (patch)
treeeffe300a442368035e214e092af6c7e8def36172 /components/script/script_thread.rs
parent221db56b08e01157c97f5adba43799eeaee32f64 (diff)
downloadservo-735480c18413db18bc77f4ae828715a8c155b017.tar.gz
servo-735480c18413db18bc77f4ae828715a8c155b017.zip
Stop using JSAutoRequest.
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 02f8d9a83ea..73350bed207 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -53,7 +53,7 @@ use ipc_channel::ipc::{self, IpcSender};
use ipc_channel::router::ROUTER;
use js::glue::GetWindowProxyClass;
use js::jsapi::{DOMProxyShadowsResult, HandleId, HandleObject, RootedValue};
-use js::jsapi::{JSAutoRequest, JSContext, JS_SetWrapObjectCallbacks, JSTracer, SetWindowProxyClass};
+use js::jsapi::{JSContext, JS_SetWrapObjectCallbacks, JSTracer, SetWindowProxyClass};
use js::jsval::UndefinedValue;
use js::rust::Runtime;
use layout_interface::{ReflowQueryType};
@@ -1576,7 +1576,6 @@ impl ScriptThread {
// Turn javascript: URL into JS code to eval, according to the steps in
// https://html.spec.whatwg.org/multipage/#javascript-protocol
- let _ar = JSAutoRequest::new(self.get_cx());
// This slice of the URL’s serialization is equivalent to (5.) to (7.):
// Start with the scheme data of the parsed URL;