Closed
Bug 1024328
Opened 10 years ago
Closed 10 years ago
Remove unnecessary #includes of nsFrameManager.h
Categories
(Core :: General, defect)
Core
General
Tracking
()
RESOLVED
FIXED
mozilla33
People
(Reporter: dholbert, Assigned: dholbert)
Details
Attachments
(1 file, 1 obsolete file)
6.77 KB,
patch
|
jwatt
:
review+
|
Details | Diff | Splinter Review |
In bug 1024084, I noticed that lots of things #include nsFrameManager.h without actually using it. I filtered for files that #include nsFrameManager without actually using it by doing an MXR search for "FrameManager"... http://mxr.mozilla.org/mozilla-central/search?string=FrameManager ...and looking for files with exactly one hit -- for just the #include. (This easily screens out files that have e.g. presShell->FrameManager()->GetRootFrame() which won't compile if it doesn't see the nsFrameManager definition.) Upcoming patch removes the #include from the 10 .cpp files that I found w/ this technique. I verified that it builds locally w/ disable-unified-compilation, which I think means it's good.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8438974 -
Flags: review?(jwatt)
Assignee | ||
Comment 2•10 years ago
|
||
(er, now with the actual patch contents)
Assignee: nobody → dholbert
Attachment #8438974 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8438974 -
Flags: review?(jwatt)
Attachment #8438977 -
Flags: review?(jwatt)
Assignee | ||
Updated•10 years ago
|
OS: Linux → All
Hardware: x86_64 → All
Comment 3•10 years ago
|
||
Comment on attachment 8438977 [details] [diff] [review] fix v2 (thought I'd r+'ed this already)
Attachment #8438977 -
Flags: review?(jwatt) → review+
Assignee | ||
Comment 4•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b4224a22edac
Flags: in-testsuite-
Comment 5•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b4224a22edac
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in
before you can comment on or make changes to this bug.
Description
•