Merge bug 246014 from the aviary branch, splitting nsIXULChromeRegistry into a separate piece for seamonkey-only methods. Original Firefox patch r=bryner sr=ben seamonkey merge r+sr=jst

This commit is contained in:
bsmedberg%covad.net 2006-09-14 06:09:58 +00:00
Родитель 7814b7b0a8
Коммит f0a5a93744
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1875,7 +1875,7 @@ function applyTheme(themeName)
return;
var chromeRegistry = Components.classes["@mozilla.org/chrome/chrome-registry;1"]
.getService(Components.interfaces.nsIXULChromeRegistry);
.getService(Components.interfaces.nsIChromeRegistrySea);
var oldTheme = false;
try {
@ -2342,7 +2342,7 @@ function checkTheme()
{
var theSkinKids = document.getElementById("theme");
var chromeRegistry = Components.classes["@mozilla.org/chrome/chrome-registry;1"]
.getService(Components.interfaces.nsIXULChromeRegistry);
.getService(Components.interfaces.nsIChromeRegistrySea);
for (var i = 0; i < theSkinKids.childNodes.length; ++i) {
var child = theSkinKids.childNodes[i];
var id=child.getAttribute("id");