Loading chrome/src/nsChromeRegistry.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -2952,12 +2952,12 @@ nsChromeRegistry::CheckForNewChrome() rv = chromeFile->Append(kChromeFileName); if (NS_FAILED(rv)) return rv; nsInt64 chromeDate; (void)chromeFile->GetLastModificationTime(&chromeDate.mValue); (void)chromeFile->GetLastModifiedTime(&chromeDate.mValue); rv = listFile->AppendRelativePath(kInstalledChromeFileName); if (NS_FAILED(rv)) return rv; nsInt64 listFileDate; (void)listFile->GetLastModificationTime(&listFileDate.mValue); (void)listFile->GetLastModifiedTime(&listFileDate.mValue); if (listFileDate < chromeDate) return NS_OK; Loading content/html/document/src/nsHTMLDocument.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -528,7 +528,7 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand, // if we failed to get a last modification date, then we don't // want to necessarily fail to create a document for this // file. Just don't set the last modified date on it... rv = file->GetLastModificationTime(&modDate); rv = file->GetLastModifiedTime(&modDate); if (NS_SUCCEEDED(rv)) { PRExplodedTime prtime; char buf[100]; Loading extensions/inspector/resources/content/jsutil/system/file.js +1 −1 Original line number Diff line number Diff line Loading @@ -529,7 +529,7 @@ dateModified : function () try { var fileInst = new JSFILE_FilePath(this.mPath); var date = new Date(fileInst.lastModificationTime).toLocaleString(); var date = new Date(fileInst.lastModifiedTime).toLocaleString(); retval=date; } Loading extensions/python/xpcom/server/loader.py +2 −2 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ class PythonComponentLoader: if e_location is None: # No escaped key needed. e_location = registry_location key = self.registry.addSubtreeRaw(self.xpcom_registry_key, e_location) self.registry.setLongLong(key, lastModValueName, nsIFile.lastModificationTime) self.registry.setLongLong(key, lastModValueName, nsIFile.lastModifiedTime) self.registry.setLongLong(key, fileSizeValueName, nsIFile.fileSize) def _hasChanged(self, registry_location, nsIFile): if self.registry is None: Loading @@ -198,7 +198,7 @@ class PythonComponentLoader: e_location = registry_location try: key = self.registry.getSubtreeRaw(self.xpcom_registry_key, e_location) if nsIFile.lastModificationTime != self.registry.getLongLong(key, lastModValueName): if nsIFile.lastModifiedTime != self.registry.getLongLong(key, lastModValueName): return 1 if nsIFile.fileSize != self.registry.getLongLong(key, fileSizeValueName): return 1 Loading java/xpcom/java/loader/bcJavaComponentLoader.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -289,7 +289,7 @@ nsresult bcJavaComponentLoader::SetRegistryInfo(const char *registryLocation, PRInt64 modDate; if (NS_FAILED(rv = component->GetLastModificationDate(&modDate)) || if (NS_FAILED(rv = component->GetLastModifiedTime(&modDate)) || NS_FAILED(rv = mRegistry->SetLongLong(key, lastModValueName, &modDate))) return rv; Loading Loading @@ -317,7 +317,7 @@ PRBool bcJavaComponentLoader::HasChanged(const char *registryLocation, nsIFile * if (NS_FAILED(mRegistry->GetLongLong(key, lastModValueName, ®Time))) return PR_TRUE; if (NS_FAILED(component->GetLastModificationDate(&lastTime)) || LL_NE(lastTime, regTime)) if (NS_FAILED(component->GetLastModifiedTime(&lastTime)) || LL_NE(lastTime, regTime)) return PR_TRUE; /* check file size */ Loading Loading
chrome/src/nsChromeRegistry.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -2952,12 +2952,12 @@ nsChromeRegistry::CheckForNewChrome() rv = chromeFile->Append(kChromeFileName); if (NS_FAILED(rv)) return rv; nsInt64 chromeDate; (void)chromeFile->GetLastModificationTime(&chromeDate.mValue); (void)chromeFile->GetLastModifiedTime(&chromeDate.mValue); rv = listFile->AppendRelativePath(kInstalledChromeFileName); if (NS_FAILED(rv)) return rv; nsInt64 listFileDate; (void)listFile->GetLastModificationTime(&listFileDate.mValue); (void)listFile->GetLastModifiedTime(&listFileDate.mValue); if (listFileDate < chromeDate) return NS_OK; Loading
content/html/document/src/nsHTMLDocument.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -528,7 +528,7 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand, // if we failed to get a last modification date, then we don't // want to necessarily fail to create a document for this // file. Just don't set the last modified date on it... rv = file->GetLastModificationTime(&modDate); rv = file->GetLastModifiedTime(&modDate); if (NS_SUCCEEDED(rv)) { PRExplodedTime prtime; char buf[100]; Loading
extensions/inspector/resources/content/jsutil/system/file.js +1 −1 Original line number Diff line number Diff line Loading @@ -529,7 +529,7 @@ dateModified : function () try { var fileInst = new JSFILE_FilePath(this.mPath); var date = new Date(fileInst.lastModificationTime).toLocaleString(); var date = new Date(fileInst.lastModifiedTime).toLocaleString(); retval=date; } Loading
extensions/python/xpcom/server/loader.py +2 −2 Original line number Diff line number Diff line Loading @@ -187,7 +187,7 @@ class PythonComponentLoader: if e_location is None: # No escaped key needed. e_location = registry_location key = self.registry.addSubtreeRaw(self.xpcom_registry_key, e_location) self.registry.setLongLong(key, lastModValueName, nsIFile.lastModificationTime) self.registry.setLongLong(key, lastModValueName, nsIFile.lastModifiedTime) self.registry.setLongLong(key, fileSizeValueName, nsIFile.fileSize) def _hasChanged(self, registry_location, nsIFile): if self.registry is None: Loading @@ -198,7 +198,7 @@ class PythonComponentLoader: e_location = registry_location try: key = self.registry.getSubtreeRaw(self.xpcom_registry_key, e_location) if nsIFile.lastModificationTime != self.registry.getLongLong(key, lastModValueName): if nsIFile.lastModifiedTime != self.registry.getLongLong(key, lastModValueName): return 1 if nsIFile.fileSize != self.registry.getLongLong(key, fileSizeValueName): return 1 Loading
java/xpcom/java/loader/bcJavaComponentLoader.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -289,7 +289,7 @@ nsresult bcJavaComponentLoader::SetRegistryInfo(const char *registryLocation, PRInt64 modDate; if (NS_FAILED(rv = component->GetLastModificationDate(&modDate)) || if (NS_FAILED(rv = component->GetLastModifiedTime(&modDate)) || NS_FAILED(rv = mRegistry->SetLongLong(key, lastModValueName, &modDate))) return rv; Loading Loading @@ -317,7 +317,7 @@ PRBool bcJavaComponentLoader::HasChanged(const char *registryLocation, nsIFile * if (NS_FAILED(mRegistry->GetLongLong(key, lastModValueName, ®Time))) return PR_TRUE; if (NS_FAILED(component->GetLastModificationDate(&lastTime)) || LL_NE(lastTime, regTime)) if (NS_FAILED(component->GetLastModifiedTime(&lastTime)) || LL_NE(lastTime, regTime)) return PR_TRUE; /* check file size */ Loading