WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
161504
add BlockPtr::fromCallable
https://bugs.webkit.org/show_bug.cgi?id=161504
Summary
add BlockPtr::fromCallable
Anders Carlsson
Reported
2016-09-01 13:07:49 PDT
add BlockPtr::fromCallable
Attachments
Patch
(9.82 KB, patch)
2016-09-01 13:10 PDT
,
Anders Carlsson
no flags
Details
Formatted Diff
Diff
Patch
(10.03 KB, patch)
2016-09-01 13:32 PDT
,
Anders Carlsson
thorton
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Anders Carlsson
Comment 1
2016-09-01 13:10:11 PDT
Created
attachment 287663
[details]
Patch
WebKit Commit Bot
Comment 2
2016-09-01 13:12:59 PDT
Attachment 287663
[details]
did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WTF/BlockPtr.mm:35: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/BlockPtr.mm:45: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Tim Horton
Comment 3
2016-09-01 13:24:58 PDT
Comment on
attachment 287663
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=287663&action=review
> Source/WTF/ChangeLog:8 > + BlockPtr::fromCallable lets you create an Objective-C from any callable object - including lambdas that contain move-only types.
"create an Objective-C from"?
> Source/WTF/wtf/BlockPtr.h:77 > + block->flags = 0x3000002;
wat
Anders Carlsson
Comment 4
2016-09-01 13:32:26 PDT
Created
attachment 287668
[details]
Patch
WebKit Commit Bot
Comment 5
2016-09-01 13:35:12 PDT
Attachment 287668
[details]
did not pass style-queue: ERROR: Tools/TestWebKitAPI/Tests/WTF/BlockPtr.mm:35: No space between ^ and block definition. [whitespace/brackets] [4] ERROR: Tools/TestWebKitAPI/Tests/WTF/BlockPtr.mm:45: Extra space before ( in function call [whitespace/parens] [4] Total errors found: 2 in 5 files If any of these errors are false positives, please file a bug against check-webkit-style.
Anders Carlsson
Comment 6
2016-09-01 13:42:18 PDT
Committed
r205313
: <
http://trac.webkit.org/changeset/205313
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug