Closed
Bug 100895
Opened 23 years ago
Closed 23 years ago
Extraneous include's introduce unwanted dependencies
Categories
(Core :: DOM: HTML Parser, defect, P3)
Core
DOM: HTML Parser
Tracking
()
VERIFIED
FIXED
mozilla0.9.6
People
(Reporter: jonsmirl, Assigned: jonsmirl)
References
Details
(Whiteboard: [fix in hand])
Attachments
(1 file)
2.28 KB,
patch
|
harishd
:
review+
alecf
:
superreview+
|
Details | Diff | Splinter Review |
Unnecessary includes in htmlparser files...
#include "nsIXMLContentSink.h"
#include "nsITextContent.h"
cause unnecessary module dependencies
nkcache
widget
raptor
content
Removing includes removes dependecies
Comment 2•23 years ago
|
||
Comment on attachment 50208 [details] [diff] [review]
remove include and fix dependencies
nice! sr=alecf
Updated•23 years ago
|
Attachment #50208 -
Flags: superreview+
Comment on attachment 50208 [details] [diff] [review]
remove include and fix dependencies
r=harishd
Attachment #50208 -
Flags: review+
Status: NEW → ASSIGNED
Priority: -- → P3
Whiteboard: [fix in hand]
Target Milestone: --- → mozilla0.9.5
Comment 4•23 years ago
|
||
Who wants to checkin this puppy?
Comment 6•23 years ago
|
||
just checked in the patch.. reassigning to jonsmirl to be marked fixed. Thanks jon!
Assignee: harishd → jonsmirl
Status: ASSIGNED → NEW
Comment 7•23 years ago
|
||
marking fixed.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
To fix bustage I had to add the nkcache back into the REQUIRES line.
nsParser.cpp includes nsICacheEntryDescriptor.h.
... and the reason you didn't catch that is that you compiled on Windows, where
cache is not its own module (bug 103988).
Assignee | ||
Comment 10•23 years ago
|
||
I just pulled and built and had trouble with this.
content is out of the makefile like it should be but this is still in:
===================================================================
RCS file: /cvsroot/mozilla/htmlparser/src/nsWellFormedDTD.cpp,v
retrieving revision 3.88
diff -u -r3.88 nsWellFormedDTD.cpp
--- mozilla/htmlparser/src/nsWellFormedDTD.cpp 2001/09/08 18:37:19 3.88
+++ mozilla/htmlparser/src/nsWellFormedDTD.cpp 2001/09/21 04:37:08
@@ -35,7 +35,6 @@
#include "nsDTDUtils.h"
#include "nsIContentSink.h"
#include "nsIHTMLContentSink.h"
-#include "nsIXMLContentSink.h"
#include "nsHTMLTokenizer.h"
#include "nsExpatTokenizer.h"
which makes me need content. XMLContentSink is not used (at least on windows it
isn't). The makefile is right and XMLContentSink should be removed.
Comment 11•23 years ago
|
||
Jon: that file's on the svg branch now, which is why it didn't show up. And I'd
merged 5 minutes before... Fixed now.
Comment 12•23 years ago
|
||
thanks to dbaron for catching that. I'm making nkcache a real module on windows
so I don't bust in the future :)
You need to log in
before you can comment on or make changes to this bug.
Description
•