Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRemove redundant RefCell from CanvasState struct #23730
Conversation
highfive
commented
Jul 8, 2019
|
Heads up! This PR modifies the following files:
|
highfive
commented
Jul 8, 2019
|
@bors-servo try=wpt |
Remove redundant RefCell from CanvasState struct <!-- Please describe your changes on the following line: --> Removed DomRefCell member wrappers from CanvasState. --- <!-- 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 #23436 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it only fixed redundancy. <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23730) <!-- Reviewable:end -->
|
@bors-servo r+ |
|
|
|
|
|
|
Failures in `linux-rel-css`
|
|
@CYBAI Thanks for your comment. How can I debug the error of |
|
I think you can try to run these tests locally with |
|
Specifically |
|
|
4271f26
to
266109c
|
Sorry for taking time, the error says |
|
@chansuke since you transform some I can't tell why one it is though... |
|
@bors-servo try=wpt |
Remove redundant RefCell from CanvasState struct <!-- Please describe your changes on the following line: --> Removed DomRefCell member wrappers from CanvasState. --- <!-- 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 #23436 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it only fixed redundancy. <!-- 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. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23730) <!-- Reviewable:end -->
|
|
|
The place to look will be:
Presumably we borrow in CanvasRenderingContext2D::CreatePattern, then HTMLCanvasElement::fetch_all_data tries to borrow again when it's called from CanvasState::CreatePattern. |
|
|
|
Closing due to inactivity. |
chansuke commentedJul 8, 2019
•
edited by SimonSapin
Removed DomRefCell member wrappers from CanvasState.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is