mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 785738 Part 2: use PRTime in nsDirIndex to match the idl. r=ehsan
This commit is contained in:
parent
994eaecaee
commit
e29b54c9f3
@ -68,5 +68,5 @@ nsDirIndex::SetDescription(const PRUnichar* aDescription) {
|
||||
}
|
||||
|
||||
NS_IMPL_GETSET(nsDirIndex, Size, int64_t, mSize)
|
||||
NS_IMPL_GETSET(nsDirIndex, LastModified, int64_t, mLastModified)
|
||||
NS_IMPL_GETSET(nsDirIndex, LastModified, PRTime, mLastModified)
|
||||
|
||||
|
@ -23,5 +23,5 @@ protected:
|
||||
nsXPIDLCString mLocation;
|
||||
nsString mDescription;
|
||||
int64_t mSize;
|
||||
int64_t mLastModified;
|
||||
PRTime mLastModified;
|
||||
};
|
||||
|
@ -951,7 +951,7 @@ nsIndexedToHTML::OnIndexAvailable(nsIRequest *aRequest,
|
||||
pushBuffer.AppendLiteral("></td>\n <td>");
|
||||
} else {
|
||||
pushBuffer.AppendLiteral(" sortable-data=\"");
|
||||
pushBuffer.AppendInt(t);
|
||||
pushBuffer.AppendInt(static_cast<int64_t>(t));
|
||||
pushBuffer.AppendLiteral("\">");
|
||||
nsAutoString formatted;
|
||||
mDateTime->FormatPRTime(nullptr,
|
||||
|
Loading…
Reference in New Issue
Block a user