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/htmlimageelement.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/htmlimageelement.rs')
-rw-r--r-- | components/script/dom/htmlimageelement.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/dom/htmlimageelement.rs b/components/script/dom/htmlimageelement.rs index 5b6bd321534..fd2a58f8d7d 100644 --- a/components/script/dom/htmlimageelement.rs +++ b/components/script/dom/htmlimageelement.rs @@ -5,7 +5,7 @@ use crate::document_loader::{LoadBlocker, LoadType}; use crate::dom::activation::Activatable; use crate::dom::attr::Attr; -use crate::dom::bindings::cell::DomRefCell; +use crate::dom::bindings::cell::{DomRefCell, RefMut}; use crate::dom::bindings::codegen::Bindings::DOMRectBinding::DOMRectBinding::DOMRectMethods; use crate::dom::bindings::codegen::Bindings::ElementBinding::ElementBinding::ElementMethods; use crate::dom::bindings::codegen::Bindings::HTMLImageElementBinding; @@ -67,7 +67,7 @@ use num_traits::ToPrimitive; use servo_url::origin::ImmutableOrigin; use servo_url::origin::MutableOrigin; use servo_url::ServoUrl; -use std::cell::{Cell, RefMut}; +use std::cell::Cell; use std::char; use std::collections::HashSet; use std::default::Default; |