diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2016-11-10 15:34:04 -0600 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2016-11-17 18:08:24 -0600 |
commit | c228a4cf03e9ef0b3a08a148f17086bc5e38ee70 (patch) | |
tree | b8673ea1bcdfab3fb75c1e68222786118cdce2d8 /components/script/script_thread.rs | |
parent | 22aebdf5d41a3509cd6515ccf5edcdf33715a76d (diff) | |
download | servo-c228a4cf03e9ef0b3a08a148f17086bc5e38ee70.tar.gz servo-c228a4cf03e9ef0b3a08a148f17086bc5e38ee70.zip |
Report errors using the top-level frame id rather than the pipeline id.
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 1d434f591b8..dc8a850a018 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -517,8 +517,8 @@ impl ScriptThreadFactory for ScriptThread { thread::spawn_named(format!("ScriptThread {:?}", state.id), move || { thread_state::initialize(thread_state::SCRIPT); - PipelineId::install(state.id); PipelineNamespace::install(state.pipeline_namespace_id); + FrameId::install(state.top_level_frame_id); let roots = RootCollection::new(); let _stack_roots_tls = StackRootTLS::new(&roots); let id = state.id; |