Skip to content

Pass argument by reference to CacheKey constructor - #24374

Merged
bors-servo merged 1 commit into
servo:masterfrom
Tugdual:tug-by-ref-argument
Oct 5, 2019
Merged

bors-servo merged 1 commit into
servo:masterfrom
Tugdual:tug-by-ref-argument

Conversation

@Tugdual

@Tugdual Tugdual commented Oct 5, 2019 •

Copy link
Copy Markdown
Contributor

Argument now passed by reference, and clone() removed when calling
constructor.


  • There are tests for these changes OR
  • These changes do not require tests because @jdm said it only need to build

This change is Reviewable

Argument now passed by reference, and clone() removed when calling
constructor.
@highfive

highfive commented Oct 5, 2019

Copy link
Copy Markdown

Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @asajeffrey (or someone else) soon.

@highfive

highfive commented Oct 5, 2019

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

@highfive

highfive commented Oct 5, 2019

Copy link
Copy Markdown

warning Warning warning

  • These commits modify net code, but no tests are modified. Please consider adding a test!

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 5, 2019
@PeaceRebel

Copy link
Copy Markdown
Contributor

@jdm @asajeffrey @Tugdual, release build also didn't report any error.

@jdm

jdm commented Oct 5, 2019

Copy link
Copy Markdown
Member

@bors-servo r+
Thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 85e6418 has been approved by jdm

@highfive highfive assigned jdm and unassigned asajeffrey Oct 5, 2019
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Oct 5, 2019
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 85e6418 with merge 1318ea9...

bors-servo pushed a commit that referenced this pull request Oct 5, 2019
Pass argument by reference to CacheKey constructor

<!-- Please describe your changes on the following line: -->
Argument now passed by reference, and clone() removed when calling
constructor.

---
<!-- 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 #24353 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because @jdm said it only need to build

<!-- 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/24374)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - linux-rel-css, linux-rel-wpt, status-taskcluster
Approved by: jdm
Pushing 1318ea9 to master...

@bors-servo
bors-servo merged commit 85e6418 into servo:master Oct 5, 2019
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Oct 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CacheKey constructor should take Request by reference

6 participants