Summary: | Pair NDEBUG optioning in RefCountedBase. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kangil Han <kangil.han> | ||||||
Component: | Web Template Framework | Assignee: | Kangil Han <kangil.han> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | benjamin, levin+threading, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Kangil Han
2012-10-03 03:18:02 PDT
Created attachment 166844 [details]
patch
Comment on attachment 166844 [details]
patch
Your patch is correct. But I think we are abusing NDEBUG here. I would like a new #define based on NDEBUG like we do in HashTable.
For example define CHECK_REF_COUNTED_LIFECYCLE if not NDEBUG.
Created attachment 167027 [details]
patch
Done~
Comment on attachment 167027 [details] patch Clearing flags on attachment: 167027 Committed r130365: <http://trac.webkit.org/changeset/130365> All reviewed patches have been landed. Closing bug. |