| Summary: | [Cocoa] Convert the small bit of Objective-C++ code in WTF to ARC | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Adler <darin> | ||||
| Component: | Web Template Framework | Assignee: | Darin Adler <darin> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | andersca, benjamin, cdumez, cmarcelo, dbates, ddkilzer, ews-watchlist, mitz, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 221107, 221108 | ||||||
| Attachments: |
|
||||||
|
Description
Darin Adler
2018-06-22 21:44:45 PDT
Created attachment 343419 [details]
Patch
Committed r233128: <https://trac.webkit.org/changeset/233128> Comment on attachment 343419 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=343419&action=review > Source/WTF/Configurations/Base.xcconfig:36 > +CLANG_ENABLE_OBJC_ARC = YES; > CLANG_ENABLE_OBJC_WEAK = YES; Note that you can remove "CLANG_ENABLE_OBJC_WEAK = YES;" when enabling ARC, as -fobjc-arc is a superset of -fobjc-weak. (In reply to David Kilzer (:ddkilzer) from comment #4) > Comment on attachment 343419 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=343419&action=review > > > Source/WTF/Configurations/Base.xcconfig:36 > > +CLANG_ENABLE_OBJC_ARC = YES; > > CLANG_ENABLE_OBJC_WEAK = YES; > > Note that you can remove "CLANG_ENABLE_OBJC_WEAK = YES;" when enabling ARC, > as -fobjc-arc is a superset of -fobjc-weak. See bug 186396 comment 2 and my response. |