Closed Bug 210216 Opened 21 years ago Closed 21 years ago

remove useless nsChromeRegistry::mUIDataSource

Categories

(Core Graveyard :: RDF, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: benjamin, Assigned: benjamin)

Details

Attachments

(2 files)

I've been cleaning unused functions and members in the tree, and found
nsChromeRegistry::mUIDataSource which seems unused, except for the constructor
that creates it. Proposing removal, patch forthcoming.
Attachment #126198 - Flags: superreview?(shaver)
Attachment #126198 - Flags: review?(rjc)
Comment on attachment 126198 [details] [diff] [review]
remove nsChromeRegistry::mUIDataSource

sr=shaver, and this is simple enough that we don't need to bug rjc for
additional review.  Thanks.
Attachment #126198 - Flags: superreview?(shaver)
Attachment #126198 - Flags: superreview+
Attachment #126198 - Flags: review?(rjc)
Comment on attachment 126198 [details] [diff] [review]
remove nsChromeRegistry::mUIDataSource

r=rjc
I appreciate the sentiment.  :)
Attachment #126198 - Flags: review+
checked in. As it turns out, that removes the last reference to 
http://lxr.mozilla.org/seamonkey/source/rdf/chrome/src/nsChromeUIDataSource.h
and cpp

Can I get approval to remove these from the makefile and then from CVS?
Little patch, so I can request review
Attachment #126362 - Flags: superreview?(shaver)
Attachment #126362 - Flags: review?(shaver)
Comment on attachment 126362 [details] [diff] [review]
Remove UIDatasource altogether

My favourite kind of patch; r/sr=shaver.
Attachment #126362 - Flags: superreview?(shaver)
Attachment #126362 - Flags: superreview+
Attachment #126362 - Flags: review?(shaver)
Attachment #126362 - Flags: review+
Whoa there.  This is definitely not unused.  Removing the creation of this data
source caused regression bugs 210377 and 210437.  I'm backing out the previous
checkin.
Yeah, this data source is used to do both the themes UI (in Mozilla and
Firebird) and the extensions UI (in Firebird).  

Lesson: it is dangerous to make assumptions based solely off LXR crawling.  :)
Well, then... [embarrased grin] can I get a quick explanation as to how
mUIDataSource gets used? Is it accessed through a global RDF graph of some sort?
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Search for "rdf:chrome"
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: