зеркало из https://github.com/mozilla/gecko-dev.git
96176 - access to localstore is wrong. r=ben sr=hewitt
This commit is contained in:
Родитель
4818f17267
Коммит
32d0b14b8d
|
@ -115,7 +115,7 @@ function createUBHistoryMenu( aParent )
|
|||
.getService(Components.interfaces.nsIRDFService);
|
||||
|
||||
if (!gLocalStore)
|
||||
gLocalStore = gRDF.GetDataSource("rdf:localstore");
|
||||
gLocalStore = gRDF.GetDataSource("rdf:local-store");
|
||||
|
||||
if (gLocalStore) {
|
||||
if (!gRDFC)
|
||||
|
@ -165,10 +165,10 @@ function addToUrlbarHistory()
|
|||
.getService(Components.interfaces.nsIRDFService);
|
||||
|
||||
if (!gLocalStore)
|
||||
gLocalStore = gRDF.GetDataSource("rdf:localstore");
|
||||
gLocalStore = gRDF.GetDataSource("rdf:local-store");
|
||||
|
||||
if (gLocalStore) {
|
||||
if (!gRDFC)
|
||||
if (!gRDFC)
|
||||
gRDFC = Components.classes["@mozilla.org/rdf/container-utils;1"]
|
||||
.getService(Components.interfaces.nsIRDFContainerUtils);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче