Bug 673586 - Implement lastModifiedDate property for the File interface. Type followup r=mounir

This commit is contained in:
Doug Turner 2012-05-21 15:26:54 -07:00
parent 52a3ef54a0
commit d66dfa7486

View File

@ -427,7 +427,7 @@ nsDOMFileFile::GetMozFullPathInternal(nsAString &aFilename)
NS_IMETHODIMP
nsDOMFileFile::GetLastModifiedDate(JSContext* cx, JS::Value *aLastModifiedDate)
{
PRTime msecs;
PRInt64 msecs;
mFile->GetLastModifiedTime(&msecs);
JSObject* date = JS_NewDateObjectMsec(cx, msecs);
if (date) {