| Summary: | Remove WebBackForwardListItems when their owning page goes away | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||||
| Component: | WebKit2 | Assignee: | Tim Horton <thorton> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | andersca, mitz, sam, simon.fraser, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Tim Horton
2014-07-07 18:54:57 PDT
Created attachment 234591 [details]
patch
Created attachment 234602 [details]
patch
Comment on attachment 234602 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=234602&action=review > Source/WebKit2/WebProcess/WebPage/WebBackForwardListProxy.cpp:107 > + ItemAndPageID ids; > + ids.itemID = itemID; > + ids.pageID = pageID; > + > + historyItemToIDMap().set(item, ids); Isn’t there a way to do this without the named variable? > Source/WebKit2/WebProcess/WebPage/WebBackForwardListProxy.cpp:166 > + historyItemToIDMap().set(item, ids); Ditto. |