Closed
Bug 1226796
Opened 9 years ago
Closed 9 years ago
Remove redundant preprocessor flags in nsContainerFrame.cpp
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
RESOLVED
FIXED
mozilla45
Tracking | Status | |
---|---|---|
firefox45 | --- | fixed |
People
(Reporter: jaws, Assigned: jaws)
Details
Attachments
(1 file, 2 obsolete files)
787 bytes,
patch
|
jfkthame
:
review+
|
Details | Diff | Splinter Review |
At the top of nsContainerFrame.cpp, #ifdef DEBUG #undef NOISY #else #undef NOISY #endif Looking at CVS history, this was added as: https://github.com/ehsan/mozilla-cvs-history/commit/7f1e47459da795d415131632910b99e25f381747 #ifdef NS_DEBUG #undef NOISY #else #undef NOISY #endif We can simplify this to just: #undef NOISY
Assignee | ||
Comment 1•9 years ago
|
||
Comment 2•9 years ago
|
||
AFAICS there's nothing left that depends on NOISY in that file, so how about simply removing it altogether here?
Assignee | ||
Comment 3•9 years ago
|
||
OK, I removed the #undef NOISY since I don't see any reference to NOISY within nsContainerFrame.cpp either. I ran through `hg log` of nsContainerFrame.cpp since hg@1 and didn't see any removals or additions to usages of NOISY. I didn't do a check of CVS history.
Attachment #8690294 -
Attachment is obsolete: true
Attachment #8690294 -
Flags: review?(jfkthame)
Attachment #8690969 -
Flags: review?(jfkthame)
Comment 4•9 years ago
|
||
Comment on attachment 8690969 [details] [diff] [review] Patch v1.1 Review of attachment 8690969 [details] [diff] [review]: ----------------------------------------------------------------- ::: layout/generic/nsContainerFrame.cpp @@ +591,5 @@ > static bool > IsTopLevelWidget(nsIWidget* aWidget) > { > nsWindowType windowType = aWidget->WindowType(); > +#ifdef XP_WIN What's up here? Was this change intended to be part of this patch?
Assignee | ||
Comment 5•9 years ago
|
||
Sorry, that crept through from a different patch I was working on.
Attachment #8690969 -
Attachment is obsolete: true
Attachment #8690969 -
Flags: review?(jfkthame)
Attachment #8691406 -
Flags: review?(jfkthame)
Comment 6•9 years ago
|
||
Comment on attachment 8691406 [details] [diff] [review] Patch v1.2 Review of attachment 8691406 [details] [diff] [review]: ----------------------------------------------------------------- I suspected as much. :) Thanks for cleaning up.
Attachment #8691406 -
Flags: review?(jfkthame) → review+
Assignee | ||
Comment 7•9 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/72d69c46d14ce1742ab72425607291c7256de83f Bug 1226796 - Remove redundant preprocessor flags in nsContainerFrame.cpp. r=jfkthame
Comment 8•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/72d69c46d14c
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox45:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla45
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•