WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
186300
[Cocoa] Improve smart pointer support for ARC (OSObjectPtr/DispatchPtr)
https://bugs.webkit.org/show_bug.cgi?id=186300
Summary
[Cocoa] Improve smart pointer support for ARC (OSObjectPtr/DispatchPtr)
Darin Adler
Reported
2018-06-04 22:39:44 PDT
[Cocoa] Improve smart pointer support for ARC (OSObjectPtr/DispatchPtr)
Attachments
Patch
(5.58 KB, patch)
2018-06-04 22:41 PDT
,
Darin Adler
dbates
: review+
ews-watchlist
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from ews205 for win-future
(12.75 MB, application/zip)
2018-06-05 02:12 PDT
,
EWS Watchlist
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2018-06-04 22:41:29 PDT
Created
attachment 341954
[details]
Patch
Daniel Bates
Comment 2
2018-06-04 22:52:59 PDT
Comment on
attachment 341954
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=341954&action=review
> Source/WTF/wtf/DispatchPtr.h:48 > +#if !(defined(__OBJC__) && __has_feature(objc_arc))
This is OK as-is. Negation tends to be harder to reason about. I find that pushing the negation through an expression tends to make it easier to reason about: !defined(__OBJ__) || !__has_feature(objc_arc)
> Source/WTF/wtf/DispatchPtr.h:56 > +#if !(defined(__OBJC__) && __has_feature(objc_arc))
Ditto.
> Source/WTF/wtf/DispatchPtr.h:64 > +#if !(defined(__OBJC__) && __has_feature(objc_arc))
Ditto.
EWS Watchlist
Comment 3
2018-06-05 02:12:13 PDT
Comment on
attachment 341954
[details]
Patch
Attachment 341954
[details]
did not pass win-ews (win): Output:
http://webkit-queues.webkit.org/results/7999285
New failing tests: http/tests/security/video-poster-cross-origin-crash2.html
EWS Watchlist
Comment 4
2018-06-05 02:12:25 PDT
Created
attachment 341959
[details]
Archive of layout-test-results from ews205 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews205 Port: win-future Platform: CYGWIN_NT-6.1-2.9.0-0.318-5-3-x86_64-64bit
Darin Adler
Comment 5
2018-06-05 09:12:52 PDT
Committed
r232509
: <
https://trac.webkit.org/changeset/232509
>
Radar WebKit Bug Importer
Comment 6
2018-06-05 09:14:09 PDT
<
rdar://problem/40810079
>
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