diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-07-17 09:30:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-17 09:30:36 -0400 |
commit | f221b0000759efbd5c42a0f5c905a10169a2fb9e (patch) | |
tree | c022b63efaa78e332bd6085b458a273fdafaa3d7 /.gitignore | |
parent | 68cee9f7c1571110eba8650fc279af0721603651 (diff) | |
parent | cdfd4d9075f31a80377f26315cd122e7e85e932b (diff) | |
download | servo-f221b0000759efbd5c42a0f5c905a10169a2fb9e.tar.gz servo-f221b0000759efbd5c42a0f5c905a10169a2fb9e.zip |
Auto merge of #27282 - camelid:rc-domstring, r=jdm
Use `Rc` instead of cloning the `DOMString`
<!-- Please describe your changes on the following line: -->
I changed the `text` field of `ScriptOrigin` from a `DOMString` to an `Rc<DOMString>`. Then I updated all the related code to work with an `Rc`.
---
<!-- 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 #27254 (GitHub issue number if applicable)
<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because this doesn't introduce new code and should only need to be checked by the compiler
<!-- 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 '.gitignore')
0 files changed, 0 insertions, 0 deletions