Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification' r=akkana sr=brendan git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user