RESOLVED FIXED 122362
FramePolicyFunction should be an std::function
https://bugs.webkit.org/show_bug.cgi?id=122362
Summary FramePolicyFunction should be an std::function
Anders Carlsson
Reported 2013-10-04 17:13:18 PDT
FramePolicyFunction should be an std::function
Attachments
Patch (47.20 KB, patch)
2013-10-04 17:14 PDT, Anders Carlsson
no flags
Patch (50.26 KB, patch)
2013-10-04 20:02 PDT, Anders Carlsson
no flags
Patch (50.15 KB, patch)
2013-10-04 20:09 PDT, Anders Carlsson
no flags
Patch (50.15 KB, patch)
2013-10-04 20:21 PDT, Anders Carlsson
no flags
Patch (50.71 KB, patch)
2013-10-04 20:56 PDT, Anders Carlsson
darin: review+
Anders Carlsson
Comment 1 2013-10-04 17:14:48 PDT
Darin Adler
Comment 2 2013-10-04 17:37:47 PDT
Comment on attachment 213421 [details] Patch Cute how you made the functions the last argument to match the “block is last argument” style we use for the corresponding Objective-C feature. Not sure if that’s the tradition for C++ but it does seem to make the code readable. I don’t think I’ll ever use a PTMF again!
EFL EWS Bot
Comment 3 2013-10-04 18:23:40 PDT
Build Bot
Comment 4 2013-10-04 18:57:21 PDT
Anders Carlsson
Comment 5 2013-10-04 20:02:58 PDT
Anders Carlsson
Comment 6 2013-10-04 20:09:49 PDT
Anders Carlsson
Comment 7 2013-10-04 20:21:31 PDT
Build Bot
Comment 8 2013-10-04 20:55:06 PDT
Anders Carlsson
Comment 9 2013-10-04 20:56:48 PDT
Anders Carlsson
Comment 10 2013-10-04 21:50:47 PDT
Darin Adler
Comment 11 2013-10-05 06:47:46 PDT
This is causing link failures on the Mountain Lion bot, probably due to a standard library implementation problem. Various std::function-related symbols seem to be exported from WebKit2 even though we don’t want them to be.
Darin Adler
Comment 12 2013-10-05 06:48:26 PDT
Correction: The problem is on the Lion bot.
Note You need to log in before you can comment on or make changes to this bug.