diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-26 19:20:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-26 19:20:10 -0800 |
commit | 4755cb7586ab4a89f35bbccf8b57c85ed2f428e7 (patch) | |
tree | aeb7ef2f3950ebdea987eb6aeb91af70aa6344d6 /components/script/script_runtime.rs | |
parent | c4f87f451faf8eeac3e046c38ebf8b9b3dd0051e (diff) | |
parent | f290a6f88c53bc7366d16b7735de0dff77fdffdb (diff) | |
download | servo-4755cb7586ab4a89f35bbccf8b57c85ed2f428e7.tar.gz servo-4755cb7586ab4a89f35bbccf8b57c85ed2f428e7.zip |
Auto merge of #14373 - Wafflespeanut:parse, r=emilio
Use the ParserContext along with the Parser
<!-- Please describe your changes on the following line: -->
This changes the `parse` function's signature to include `ParserContext`, so that we don't introduce another trait just for the sake of the context. Instead, we can safely ignore the context whenever we don't need it.
---
<!-- 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
<!-- Either: -->
- [x] These changes do not require tests because it's a refactor
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
r? @SimonSapin or @emilio or @Manishearth
<!-- 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/14373)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/script_runtime.rs')
0 files changed, 0 insertions, 0 deletions