diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-04-11 12:58:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-11 12:58:34 -0400 |
commit | 9ab0af01fe2618d81555f0c2bea3585c0f468628 (patch) | |
tree | 869e624bc018c9a7f97d40dccea6883f66d400da /components/script/dom/offscreencanvasrenderingcontext2d.rs | |
parent | dd2deeabca7eeb40e6a8fe0c1ee4550d64e0c235 (diff) | |
parent | 6b2be9b31de1503e90a62cc7d597dc4bd467d998 (diff) | |
download | servo-9ab0af01fe2618d81555f0c2bea3585c0f468628.tar.gz servo-9ab0af01fe2618d81555f0c2bea3585c0f468628.zip |
Auto merge of #22521 - lucasfantacuci:use_build_pattern_with_requestinit, r=jdm,KiChjang
Refactoring RequestInit to use a Builder Pattern
<!-- Please describe your changes on the following line: -->
If RequestInit::new accepts all of the mandatory arguments and then the builder pattern is used for customizable options, the resulting code might be easier to match against specification text like
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #22427
- [x] These changes do not require tests because it is a code refactoring.
<!-- 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/22521)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/offscreencanvasrenderingcontext2d.rs')
0 files changed, 0 insertions, 0 deletions