[Webkit-unassigned] [Bug 133467] [EFL]Build error in WebKit2/Shared/Downloads/soup/DownloadSoup.cpp

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 4 03:36:57 PDT 2014


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





--- Comment #6 from Tanay <tanay.c at samsung.com>  2014-06-04 03:37:21 PST ---
(In reply to comment #5)
> (From update of attachment 232470 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=232470&action=review
> 
> > Source/WebKit2/Shared/Downloads/soup/DownloadSoup.cpp:190
> > -        m_handleResponseLater.schedule("[WebKit] DownloadHandleResponseLater", std::bind(&DownloadClient::handleResponse, this));
> > +        m_handleResponseLater.schedule("[WebKit] DownloadHandleResponseLater", static_cast<std::function<void()>>(std::bind(&DownloadClient::handleResponse, this)));
> 
> I think you can use the function constructor instead of a static cast, something like std::function<void()>(std::bind(&DownloadClient::handleResponse, this)). I think it's cleaner.


Sure, uploading another patch.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list