[Webkit-unassigned] [Bug 159410] When WKWebView prepares the session state blob, we should be able to filter it.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 8 17:09:14 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=159410

Brady Eidson <beidson at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #283023|review?                     |review+
              Flags|                            |

--- Comment #15 from Brady Eidson <beidson at apple.com> ---
Comment on attachment 283023
  --> https://bugs.webkit.org/attachment.cgi?id=283023
Fix build issues.

View in context: https://bugs.webkit.org/attachment.cgi?id=283023&action=review

> Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm:3377
> +    WebKit::SessionState sessionState = _page->sessionState([filter](WebKit::WebBackForwardListItem& item) {

[filter = WTFMove(filter)] will avoid a copy. It might just be a pointer copy as I'm not exactly sure how blocks are represented... but probably couldn't hurt!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160709/99855012/attachment-0001.html>


More information about the webkit-unassigned mailing list