-
Notifications
You must be signed in to change notification settings - Fork 306
Fix currently scrolling layer id caching #800
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 currently scrolling layer id caching #800
Conversation
435b776 to
f954c94
Compare
f954c94 to
41c7e3f
Compare
|
@jdm So I am still unable to reproduce the panic. If you can do so consistently, could I please ask you to test if this fixes it? This one requires building with servo/servo#15111 |
|
This seems OK to me - but let's double check with @mrobinson first. |
|
@glennw Thank you. I changed the variables names a bit for clarity... |
|
I think that we will need to change the API in order to let WebRender know when a batch of scroll layers doesn't have any correspondence with the previous one. I need that for a PR that I'm working on, but a decent fallback here makes sense as well. Thanks! |
|
The new API is here: #806 This patch should work fine in tandem with that. |
|
@bors-servo r+ |
|
📌 Commit 4a5403c has been approved by |
Fix currently scrolling layer id caching Fix for servo/servo#15251 <!-- 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/800) <!-- Reviewable:end -->
|
☀️ Test successful - status-travis |
|
@glennw @mrobinson Thanks for your help, I will also take a look at the new API, and the scroll testing capabilities of Wrench. Sorry I didn't squash that one extra commit, I guess it's not the end of the world... |
|
No worries, thanks for the fix! |
Fix for servo/servo#15251
This change is