Stop using inheritance for WebBackForwardCacheEntry. This simplifies the code a bit.
Created attachment 380988 [details] Patch
Created attachment 380989 [details] Patch
Created attachment 380991 [details] Patch
Created attachment 380992 [details] Patch
Fighting with unified build and GTK/WPE...
Comment on attachment 380992 [details] Patch Clearing flags on attachment: 380992 Committed r251142: <https://trac.webkit.org/changeset/251142>
All reviewed patches have been landed. Closing bug.
Comment on attachment 380992 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=380992&action=review Much better! > Source/WebKit/UIProcess/WebBackForwardCacheEntry.h:55 > + WebCore::ProcessIdentifier m_processIdentifier; > + WebCore::BackForwardItemIdentifier m_backForwardItemID; > + std::unique_ptr<SuspendedPageProxy> m_suspendedPage; If you want the get fancy you can always use Variant<> as a replacement for subclassing (maybe overkill here).
<rdar://problem/56295952>
<rdar://problem/56308355>