[Webkit-unassigned] [Bug 178681] Remove scopeguard from platform

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 25 15:47:14 PDT 2017


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

--- Comment #12 from Christopher Reid <christopher.reid at am.sony.com> ---
(In reply to Alex Christensen from comment #11)
> Comment on attachment 324766 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=324766&action=review
> 
> > Source/WebCore/Modules/indexeddb/IDBRequest.h:174
> > +    std::unique_ptr<WTF::ScopeExit<std::function<void()>>> m_cursorRequestNotifier;
> 
> Is there a reason this needs to be std::function?  We're trying to use
> WTF::Function instead because it's non-copyable.

For some reason I thought ScopeGuard was using std::function, but I was mistaken. I'll change it to WTF::Function.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171025/92a1abf6/attachment.html>


More information about the webkit-unassigned mailing list