No need to setSnapshot(nullptr) when removing an item from the WebBackForwardList now that items actually get destroyed right after.
Created attachment 249748 [details] Patch
Comment on attachment 249748 [details] Patch Clearing flags on attachment: 249748 Committed r182172: <http://trac.webkit.org/changeset/182172>
All reviewed patches have been landed. Closing bug.
Isn’t WebBackForwardListItem an API object? A client may hold on to arbitrarily many instances but will have no way to get to the snapshots. This suggests that dropping the reference to the snapshot once the item is not in the list could still be beneficial.
(In reply to comment #4) > Isn’t WebBackForwardListItem an API object? A client may hold on to > arbitrarily many instances but will have no way to get to the snapshots. > This suggests that dropping the reference to the snapshot once the item is > not in the list could still be beneficial. Oh! I did not realize that WebBackForwardListItem was exposed through the modern WebKit API. Rolling this out.
Re-opened since this is blocked by bug 143250