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 upStore the pointer of reusable sheets in StylesheetLoader. #17123
Conversation
highfive
commented
Jun 1, 2017
|
Heads up! This PR modifies the following files:
|
|
You need to update the checked-in bindings for CI to pass. |
d6cde69
to
83d5318
|
@emilio I meet this problem. Is anything wrong in my patch?
|
|
|
|
These 2 commits need to be squashed together, or at least the second one should come first. Also, this needs a rebase. |
|
So that looks like a bindgen issue because of the loader sheets getting pulled in, and bindgen not being able to deduce the size of:
I'd recomend hiding that type for now, since we don't use it. You can do it adding |
|
@bors-servo delegate+ |
|
|
|
r=heycam |
|
@kuoe0 You need to tag @bors-servo |
|
@bors-servo r=heycam |
|
|
Store the pointer of reusable sheets in StylesheetLoader. <!-- Please describe your changes on the following line: --> To make stylo support reusable style sheets, we need to store the pointer of reusable style sheets we got from gecko. And we pass them back to gecko to reuse. --- <!-- 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 [Bug 1358993](https://bugzilla.mozilla.org/show_bug.cgi?id=1358993). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because the test cases are in Gecko. <!-- 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/17123) <!-- Reviewable:end -->
|
|
kuoe0 commentedJun 1, 2017
•
edited by larsbergstrom
To make stylo support reusable style sheets, we need to store the pointer of reusable style sheets we got from gecko. And we pass them back to gecko to reuse.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is