зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1079954 - File::SetLazyData is not used, r=ehsan
This commit is contained in:
Родитель
93cfa617cc
Коммит
58e4af34f3
|
@ -141,9 +141,6 @@ public:
|
|||
|
||||
bool IsFile() const;
|
||||
|
||||
void SetLazyData(const nsAString& aName, const nsAString& aContentType,
|
||||
uint64_t aLength, uint64_t aLastModifiedDate);
|
||||
|
||||
already_AddRefed<File>
|
||||
CreateSlice(uint64_t aStart, uint64_t aLength, const nsAString& aContentType,
|
||||
ErrorResult& aRv);
|
||||
|
|
|
@ -316,13 +316,6 @@ File::IsFile() const
|
|||
return mImpl->IsFile();
|
||||
}
|
||||
|
||||
void
|
||||
File::SetLazyData(const nsAString& aName, const nsAString& aContentType,
|
||||
uint64_t aLength, uint64_t aLastModifiedDate)
|
||||
{
|
||||
return mImpl->SetLazyData(aName, aContentType, aLength, aLastModifiedDate);
|
||||
}
|
||||
|
||||
already_AddRefed<File>
|
||||
File::CreateSlice(uint64_t aStart, uint64_t aLength,
|
||||
const nsAString& aContentType,
|
||||
|
@ -353,7 +346,7 @@ File::GetPath(nsAString& aPath)
|
|||
|
||||
NS_IMETHODIMP
|
||||
File::GetLastModifiedDate(JSContext* aCx,
|
||||
JS::MutableHandle<JS::Value> aDate)
|
||||
JS::MutableHandle<JS::Value> aDate)
|
||||
{
|
||||
ErrorResult rv;
|
||||
Date value = GetLastModifiedDate(rv);
|
||||
|
|
Загрузка…
Ссылка в новой задаче