Skip to content

Conversation

@lsalzman
Copy link
Contributor

@lsalzman lsalzman commented Apr 19, 2018

To deal with Gecko bug https://bugzilla.mozilla.org/show_bug.cgi?id=1448703, we need to be able to tell the BlobImageRenderer at a well-defined time when the namespace actually gets cleared, so that it can thus clear its resources at said time. This requires adding a new hook to the trait, since we only really know what time this actually happens when clear_namespace() is called on the resource cache.


This change is Reviewable

@Gankra
Copy link
Contributor

Gankra commented Apr 19, 2018

@bors-servo r+

welcome back!

@bors-servo
Copy link
Contributor

📌 Commit 3a744d4 has been approved by Gankro

bors-servo pushed a commit that referenced this pull request Apr 19, 2018
add clear_namespace hook to BlobImageRenderer trait

To deal with Gecko bug https://bugzilla.mozilla.org/show_bug.cgi?id=1448703, we need to be able to tell the BlobImageRenderer at a well-defined time when the namespace actually gets cleared, so that it can thus clear its resources at said time. This requires adding a new hook to the trait, since we only really know what time this actually happens when clear_namespace() is called on the resource cache.

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

⌛ Testing commit 3a744d4 with merge 5b1fce8...

@bors-servo
Copy link
Contributor

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: Gankro
Pushing 5b1fce8 to master...

@bors-servo bors-servo merged commit 3a744d4 into servo:master Apr 19, 2018
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.

3 participants