Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove a use of rooted_vec in Document::handle_touch_event #20101

Merged
merged 1 commit into from Feb 22, 2018
Merged

Conversation

@nox
Copy link
Member

nox commented Feb 21, 2018

This change is Reviewable

@highfive
Copy link

highfive commented Feb 21, 2018

Heads up! This PR modifies the following files:

@highfive
Copy link

highfive commented Feb 21, 2018

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!
@asajeffrey
Copy link
Member

asajeffrey commented Feb 21, 2018

I'm sort of torn about this change, in that it removes a use of rooted_vec, which is good, but it reduces the readability of the code, at least for me. I could follow the flow of the original, but I find the edited version difficult, in particular the nested let block. That said, it does get rid of a rooted_vec, so if you want to go for it you get an r=me.

@nox
Copy link
Member Author

nox commented Feb 21, 2018

@bors-servo r=asajeffrey

@bors-servo
Copy link
Contributor

bors-servo commented Feb 21, 2018

📌 Commit 3d46f67 has been approved by asajeffrey

@highfive highfive assigned asajeffrey and unassigned jdm Feb 21, 2018
@bors-servo
Copy link
Contributor

bors-servo commented Feb 21, 2018

Testing commit 3d46f67 with merge 50c3b32...

bors-servo added a commit that referenced this pull request Feb 21, 2018
Remove a use of rooted_vec in Document::handle_touch_event

<!-- 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/20101)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 21, 2018

💔 Test failed - mac-rel-wpt2

@nox
Copy link
Member Author

nox commented Feb 22, 2018

@bors-servo retry #JustInfraThings

@bors-servo
Copy link
Contributor

bors-servo commented Feb 22, 2018

Testing commit 3d46f67 with merge 9e1479b...

bors-servo added a commit that referenced this pull request Feb 22, 2018
Remove a use of rooted_vec in Document::handle_touch_event

<!-- 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/20101)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 22, 2018

@bors-servo bors-servo merged commit 3d46f67 into master Feb 22, 2018
4 of 5 checks passed
4 of 5 checks passed
Taskcluster (pull_request) TaskGroup: failure
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
dependency-ci Dependencies checked
Details
homu Test successful
Details
@SimonSapin SimonSapin deleted the rm-rootedvec branch Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.