Closed
Bug 767388
Opened 13 years ago
Closed 13 years ago
Kill NS_DEBUG
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: jwatt, Assigned: jwatt)
Details
Attachments
(1 file, 1 obsolete file)
|
151.08 KB,
patch
|
bzbarsky
:
review+
|
Details | Diff | Splinter Review |
The ifdefs for mDrawEventTargetFrame and mPresArenaAllocCount in nsIPresShell are not consistent. They should be.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #635757 -
Flags: review?(bzbarsky)
| Assignee | ||
Comment 2•13 years ago
|
||
Actually, this patch isn't right. The issue here is that mPresArenaAllocCount is defined inside NS_DEBUG, but used inside DEBUG. I don't know which one is right, but I'll update the patch if you tell me bz. :)
| Assignee | ||
Updated•13 years ago
|
Summary: Make the ifdefs for mDrawEventTargetFrame and mPresArenaAllocCount consistent → Make the ifdefs for mPresArenaAllocCount consistent
Comment 3•13 years ago
|
||
Just use DEBUG.
| Assignee | ||
Comment 4•13 years ago
|
||
Seems like NS_DEBUG is just an alias for DEBUG at this point. I think I'll just use Eclipse's refactoring tools to kill it, unless you tell me it still has a purpose.
Comment 5•13 years ago
|
||
That sounds great!
| Assignee | ||
Updated•13 years ago
|
Summary: Make the ifdefs for mPresArenaAllocCount consistent → Kill NS_DEBUG
| Assignee | ||
Comment 6•13 years ago
|
||
I went through and checked it manually, but feel free to do the same. The only line that isn't a straight s/NS_DEBUG/DEBUG/ is the one in nsDebug.h to remove the define.
Attachment #635757 -
Attachment is obsolete: true
Attachment #635757 -
Flags: review?(bzbarsky)
Attachment #635948 -
Flags: review?(bzbarsky)
Comment 7•13 years ago
|
||
Comment on attachment 635948 [details] [diff] [review]
patch to kill NS_DEBUG
r=me
Attachment #635948 -
Flags: review?(bzbarsky) → review+
| Assignee | ||
Comment 8•13 years ago
|
||
Target Milestone: --- → mozilla16
Comment 9•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•