Bug 149962 - Modernize and cleanup an NSNumber constant
Summary: Modernize and cleanup an NSNumber constant
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Joseph Pecoraro
Depends on:
Reported: 2015-10-09 11:49 PDT by Joseph Pecoraro
Modified: 2015-10-09 16:20 PDT (History)
1 user (show)

See Also:

[PATCH] Proposed Fix (1.26 KB, patch)
2015-10-09 11:49 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2015-10-09 11:49:20 PDT
[NSNumber numberWithBool:true] is confusing as it normally takes a YES/NO. Either way it can be modernized to @YES.
Comment 1 Joseph Pecoraro 2015-10-09 11:49:56 PDT
Created attachment 262783 [details]
[PATCH] Proposed Fix
Comment 2 WebKit Commit Bot 2015-10-09 16:20:29 PDT
Comment on attachment 262783 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 262783

Committed r190831: <http://trac.webkit.org/changeset/190831>
Comment 3 WebKit Commit Bot 2015-10-09 16:20:32 PDT
All reviewed patches have been landed.  Closing bug.