зеркало из https://github.com/mozilla/gecko-dev.git
Bug 43121. Move XUL content model code from RDF DLL to content DLL. r=jst,hyatt; sr=brendan.
This commit is contained in:
Родитель
35e7ef854b
Коммит
fd8e3009e2
|
@ -29,7 +29,7 @@
|
|||
const RDFSERVICE_CONTRACTID = "@mozilla.org/rdf/rdf-service;1";
|
||||
const DRAGSERVICE_CONTRACTID = "@mozilla.org/widget/dragservice;1";
|
||||
const TRANSFERABLE_CONTRACTID = "@mozilla.org/widget/transferable;1";
|
||||
const XULSORTSERVICE_CONTRACTID = "@mozilla.org/rdf/xul-sort-service;1";
|
||||
const XULSORTSERVICE_CONTRACTID = "@mozilla.org/xul/xul-sort-service;1";
|
||||
const ARRAY_CONTRACTID = "@mozilla.org/supports-array;1";
|
||||
const WSTRING_CONTRACTID = "@mozilla.org/supports-wstring;1";
|
||||
|
||||
|
|
|
@ -223,7 +223,7 @@ function doSort(sortColName, naturalOrderResource)
|
|||
}
|
||||
}
|
||||
|
||||
var isupports = Components.classes["@mozilla.org/rdf/xul-sort-service;1"].getService();
|
||||
var isupports = Components.classes["@mozilla.org/xul/xul-sort-service;1"].getService();
|
||||
if (!isupports) return(false);
|
||||
var xulSortService = isupports.QueryInterface(Components.interfaces.nsIXULSortService);
|
||||
if (!xulSortService) return(false);
|
||||
|
|
|
@ -331,7 +331,7 @@ function doSort(sortColName, naturalOrderResource)
|
|||
}
|
||||
}
|
||||
|
||||
var isupports = Components.classes["@mozilla.org/rdf/xul-sort-service;1"].getService();
|
||||
var isupports = Components.classes["@mozilla.org/xul/xul-sort-service;1"].getService();
|
||||
if (!isupports) return(false);
|
||||
var xulSortService = isupports.QueryInterface(Components.interfaces.nsIXULSortService);
|
||||
if (!xulSortService) return(false);
|
||||
|
@ -356,7 +356,7 @@ function setInitialSort(node, sortDirection)
|
|||
|
||||
try
|
||||
{
|
||||
var isupports = Components.classes["@mozilla.org/rdf/xul-sort-service;1"].getService();
|
||||
var isupports = Components.classes["@mozilla.org/xul/xul-sort-service;1"].getService();
|
||||
if (!isupports) return(false);
|
||||
var xulSortService = isupports.QueryInterface(Components.interfaces.nsIXULSortService);
|
||||
if (!xulSortService) return(false);
|
||||
|
|
Загрузка…
Ссылка в новой задаче