diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2020-01-08 15:44:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-08 15:44:41 -0500 |
commit | 821de45da86fcdc287dfe3e586ca768f3ab92f48 (patch) | |
tree | 064e4f980f50dd3862b13753ad3020a6588bece8 /components/script/dom/workerglobalscope.rs | |
parent | e201b1688ba6350a4f5c1df73893e9032dcb6f08 (diff) | |
parent | 02c1612cb0dd5a74deb33c9c31d89ded2b50d0a9 (diff) | |
download | servo-821de45da86fcdc287dfe3e586ca768f3ab92f48.tar.gz servo-821de45da86fcdc287dfe3e586ca768f3ab92f48.zip |
Auto merge of #25451 - kunalmohan:19308-AccountableRefCell, r=jdm
Add accountable-refcell as optional build time feature
<!-- Please describe your changes on the following line: -->
It can be used with the format `./mach build --features refcell_backtrace`.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #19308 (GitHub issue number if applicable)
<!-- Either: -->
- [X] These changes do not require tests because it adds a optional build-time feature only.
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
Diffstat (limited to 'components/script/dom/workerglobalscope.rs')
-rw-r--r-- | components/script/dom/workerglobalscope.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/workerglobalscope.rs b/components/script/dom/workerglobalscope.rs index 8624208423e..f29fd70f99f 100644 --- a/components/script/dom/workerglobalscope.rs +++ b/components/script/dom/workerglobalscope.rs @@ -3,7 +3,7 @@ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::compartments::InCompartment; -use crate::dom::bindings::cell::DomRefCell; +use crate::dom::bindings::cell::{DomRefCell, Ref}; use crate::dom::bindings::codegen::Bindings::RequestBinding::RequestInit; use crate::dom::bindings::codegen::Bindings::WorkerBinding::WorkerType; use crate::dom::bindings::codegen::Bindings::WorkerGlobalScopeBinding::WorkerGlobalScopeMethods; @@ -52,7 +52,6 @@ use net_traits::request::{ use net_traits::IpcSend; use script_traits::WorkerGlobalScopeInit; use servo_url::{MutableOrigin, ServoUrl}; -use std::cell::Ref; use std::default::Default; use std::rc::Rc; use std::sync::atomic::{AtomicBool, Ordering}; |