mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
oops, this change was on another machine - part of the previous checkin to bug 199170, sr=bryner, r=ccarlen (no, this won't cause bustage, just something I forgot)
This commit is contained in:
parent
0b48cf638a
commit
a2f3da483d
@ -1269,10 +1269,8 @@ nsChromeRegistry::LoadDataSource(const nsACString &aFileName,
|
||||
|
||||
// Seed the datasource with the ``chrome'' namespace
|
||||
nsCOMPtr<nsIRDFXMLSink> sink = do_QueryInterface(*aResult);
|
||||
if (sink) {
|
||||
nsCOMPtr<nsIAtom> prefix = getter_AddRefs(NS_NewAtom("c"));
|
||||
sink->AddNameSpace(prefix, NS_ConvertASCIItoUCS2(CHROME_URI));
|
||||
}
|
||||
if (sink)
|
||||
sink->AddNameSpace(sCPrefix, NS_ConvertASCIItoUCS2(CHROME_URI));
|
||||
|
||||
nsCOMPtr<nsIRDFRemoteDataSource> remote = do_QueryInterface(*aResult);
|
||||
if (! remote)
|
||||
|
@ -1269,10 +1269,8 @@ nsChromeRegistry::LoadDataSource(const nsACString &aFileName,
|
||||
|
||||
// Seed the datasource with the ``chrome'' namespace
|
||||
nsCOMPtr<nsIRDFXMLSink> sink = do_QueryInterface(*aResult);
|
||||
if (sink) {
|
||||
nsCOMPtr<nsIAtom> prefix = getter_AddRefs(NS_NewAtom("c"));
|
||||
sink->AddNameSpace(prefix, NS_ConvertASCIItoUCS2(CHROME_URI));
|
||||
}
|
||||
if (sink)
|
||||
sink->AddNameSpace(sCPrefix, NS_ConvertASCIItoUCS2(CHROME_URI));
|
||||
|
||||
nsCOMPtr<nsIRDFRemoteDataSource> remote = do_QueryInterface(*aResult);
|
||||
if (! remote)
|
||||
|
Loading…
Reference in New Issue
Block a user