diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-01 17:24:54 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2016-10-06 20:59:13 +0200 |
commit | 27f100b1d47058b92d0e23d8c1b2e472fb0eafca (patch) | |
tree | 2f12c1364fe0b5abb9b7f1405be81e04023193dd /components/script/script_runtime.rs | |
parent | c6ff767625fff00e7c8f41d254c074e8e1e277be (diff) | |
download | servo-27f100b1d47058b92d0e23d8c1b2e472fb0eafca.tar.gz servo-27f100b1d47058b92d0e23d8c1b2e472fb0eafca.zip |
Introduce GlobalScope::pipeline_id
Diffstat (limited to 'components/script/script_runtime.rs')
-rw-r--r-- | components/script/script_runtime.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_runtime.rs b/components/script/script_runtime.rs index 658ace4c46a..ab7cb607985 100644 --- a/components/script/script_runtime.rs +++ b/components/script/script_runtime.rs @@ -178,7 +178,7 @@ unsafe extern "C" fn enqueue_job(_cx: *mut JSContext, _data: *mut c_void) -> bool { let result = panic::catch_unwind(AssertUnwindSafe(|| { let global = global_root_from_object(job.get()); - let pipeline = global.r().pipeline_id(); + let pipeline = global.r().as_global_scope().pipeline_id(); global.r().enqueue_promise_job(EnqueuedPromiseCallback { callback: PromiseJobCallback::new(job.get()), pipeline: pipeline, |