Summary: | Implement checked cast for DDResultRef once DDResultGetCFTypeID() is available | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||||
Component: | WebCore Misc. | Assignee: | David Kilzer (:ddkilzer) <ddkilzer> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | bfulgham, commit-queue, ddkilzer, jlewis3, joepeck, mmaxfield, simon.fraser, thorton, webkit-bug-importer | ||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||
Version: | Other | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=186401 | ||||||||||
Attachments: |
|
Description
David Kilzer (:ddkilzer)
2018-04-12 13:03:07 PDT
Created attachment 337828 [details]
Patch
Comment on attachment 337828 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=337828&action=review r=me > Source/WebCore/editing/cocoa/DataDetection.mm:87 > + DDResultRef result = checked_cf_cast<DDResultRef>(CFArrayGetValueAtIndex(results.get(), i)); Nice! Comment on attachment 337828 [details] Patch Clearing flags on attachment: 337828 Committed r230713: <https://trac.webkit.org/changeset/230713> All reviewed patches have been landed. Closing bug. Reverted r230713 for reason: This caused internal build failures. Committed r230716: <https://trac.webkit.org/changeset/230716> Created attachment 341530 [details]
Patch v2
Created attachment 341531 [details]
Patch v3
(In reply to David Kilzer (:ddkilzer) from comment #8) > Created attachment 341531 [details] > Patch v3 Going to land v3 with Brent's previous review as I fixed the build failure on internal bots, and the patch is not materially different. Comment on attachment 341531 [details]
Patch v3
I still approve of this patch! r=me.
Comment on attachment 341531 [details] Patch v3 Clearing flags on attachment: 341531 Committed r232362: <https://trac.webkit.org/changeset/232362> All reviewed patches have been landed. Closing bug. |