[Cocoa] Convert the small bit of Objective-C++ code in WTF to ARC
Created attachment 343419 [details] Patch
Committed r233128: <https://trac.webkit.org/changeset/233128>
<rdar://problem/41398383>
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.