Closed
Bug 462972
Opened 17 years ago
Closed 4 years ago
Fix nsChangeHint comparisons
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
RESOLVED
FIXED
People
(Reporter: roc, Unassigned)
Details
Attachments
(1 file)
|
1.40 KB,
patch
|
bernd_mozilla
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
My build fails due to the recent BC change. Basically, operator== should not be used for nsChangeHints.
Attachment #346176 -
Flags: superreview?(dbaron)
Attachment #346176 -
Flags: review?(bernd_mozilla)
Comment on attachment 346176 [details] [diff] [review]
fix
sr=dbaron
Attachment #346176 -
Flags: superreview?(dbaron) → superreview+
Attachment #346176 -
Flags: review?(bernd_mozilla) → review+
sorry for breaking your build, but I would really like to learn why your build breaks when tinderbox is green.
| Reporter | ||
Comment 3•17 years ago
|
||
We have special "break roc's build" code:
http://mxr.mozilla.org/seamonkey/source/layout/base/nsChangeHint.h#58
This is probably unwise
I think you should remove the ifdefs :-)
59 // Redefine these operators to return nothing. This will catch any use
60 // of these operators on hints. We should not be using these operators
61 // on nsChangeHints
Robert and now the last incompetent question before I go hiding again, why is this bad? It looks pretty innocent to me.
| Reporter | ||
Comment 6•17 years ago
|
||
The intent was that nsChangeHint is a set of bits, and we should be able to add new bits to that set without breaking things by changing existing behaviour.
Comment 7•17 years ago
|
||
Sorry for missing this. :( And yes, I think the ifdefs should just go.
| Reporter | ||
Comment 8•17 years ago
|
||
Pushed b282e708accc. I'll leave this open for removing the #ifdefs.
Status: NEW → ASSIGNED
| Reporter | ||
Updated•16 years ago
|
Assignee: roc → nobody
Comment 9•16 years ago
|
||
This is a mass change. Every comment has "assigned-to-new" in it.
I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW
Comment 10•4 years ago
|
||
I assume the #ifdefs mentioned in comment 8 is #ifdef DEBUG_roc. If so, it was removed in bug 502288.
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•