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

Fix incorrectly deleted resources in clear_namespace function. #1524

Merged
merged 1 commit into from Jul 26, 2017

Conversation

@MortimerGoro
Copy link
Contributor

MortimerGoro commented Jul 26, 2017

clear_namespace function is removing resources from different namespaces from the IdNamespace argument. Image_keys and font_keys are filtered by key.0 != namespace instead of key.0 == namespace

Rust-1.18 is already available so I used the retain function to fix both the issue and the TODO.


This change is Reviewable

@kvark
Copy link
Member

kvark commented Jul 26, 2017

Ooops!
Unfortunately, Gecko is still using Rust 1.16 AFAIK, so we can't use retain just yet.
Please revert those Rust-related changes to proceed.

@MortimerGoro MortimerGoro force-pushed the MortimerGoro:clear_namespace branch from b6a6a42 to 4cd3aa4 Jul 26, 2017
@MortimerGoro
Copy link
Contributor Author

MortimerGoro commented Jul 26, 2017

Ok, Done!

@kvark
Copy link
Member

kvark commented Jul 26, 2017

Thank you!
@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Jul 26, 2017

📌 Commit 4cd3aa4 has been approved by kvark

@bors-servo
Copy link
Contributor

bors-servo commented Jul 26, 2017

Testing commit 4cd3aa4 with merge b4a3535...

bors-servo added a commit that referenced this pull request Jul 26, 2017
Fix incorrectly deleted resources in clear_namespace function.

clear_namespace function is removing resources from different namespaces from the IdNamespace argument. Image_keys and font_keys are filtered by `key.0 != namespace` instead of `key.0 == namespace`

Rust-1.18 is already available so I used the retain function to fix both the issue and the TODO.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1524)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Jul 26, 2017

☀️ Test successful - status-travis
Approved by: kvark
Pushing b4a3535 to master...

@bors-servo bors-servo merged commit 4cd3aa4 into servo:master Jul 26, 2017
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
@sotaroikeda
Copy link
Contributor

sotaroikeda commented Jul 27, 2017

@MortimerGoro MortimerGoro mentioned this pull request Jul 28, 2017
3 of 5 tasks complete
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

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