diff options
author | bors-servo <servo-ops@mozilla.com> | 2020-06-03 16:59:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 16:59:32 -0400 |
commit | 7758d4ff620930464ec1c500fd018eac15e37af6 (patch) | |
tree | 39226d1976e047b9f2e88cae099c903601382027 /components/script/canvas_state.rs | |
parent | d6751d3068447458b12bbe17dd70737eec241d97 (diff) | |
parent | 2da07ed164b71c679813b4c319a6e069a2910b25 (diff) | |
download | servo-7758d4ff620930464ec1c500fd018eac15e37af6.tar.gz servo-7758d4ff620930464ec1c500fd018eac15e37af6.zip |
Auto merge of #25432 - warren-fisher:HTMLConstructor, r=jdm
Extract some of CGClassConstructHook to utils.rs
<!-- Please describe your changes on the following line: -->
Moving some of the functionality from the massive tripled quoted string in CGClassConstructHook in `components/script/dom/bindings/codegen/CodegenRust.py` to `components/script/dom/bindings/utils.rs`. Must be made unsafe because of UnwrapObjectDynamic and other functions. Added imports as necessary as well, as well as cleaning up using test-tidy.
---
<!-- 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 #25395 (GitHub issue number if applicable)
<!-- Either: -->
- [x] There are tests for these changes OR
- [ ] These changes do not require tests because the issue says so
<!-- 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/canvas_state.rs')
0 files changed, 0 insertions, 0 deletions