mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
fixing linux bustage
This commit is contained in:
parent
332c61b5aa
commit
ffba0d3198
@ -163,7 +163,7 @@ nsXMLMIMEDataSource::Add( nsIMIMEInfo* aMapper )
|
||||
if (NS_FAILED(rv)) return rv;
|
||||
|
||||
// Next add the new root MIME mapping.
|
||||
nsCStringKey key(mimeType);
|
||||
nsCStringKey key(mimeType.get());
|
||||
nsMIMEInfoImpl* oldInfo = (nsMIMEInfoImpl*)mInfoObjects->Put(&key, aMapper);
|
||||
NS_ASSERTION(!oldInfo, "we just removed the entry, we shouldn't have one");
|
||||
NS_ADDREF(aMapper);
|
||||
|
Loading…
Reference in New Issue
Block a user