зеркало из https://github.com/mozilla/gecko-dev.git
Bug 927366 - nsJARInputStream shouldn't crash when it is asked about buffering;r=taras
This commit is contained in:
Родитель
5b5a314d0e
Коммит
b3f62b325d
|
@ -229,7 +229,6 @@ NS_IMETHODIMP
|
||||||
nsJARInputStream::ReadSegments(nsWriteSegmentFun writer, void * closure, uint32_t count, uint32_t *_retval)
|
nsJARInputStream::ReadSegments(nsWriteSegmentFun writer, void * closure, uint32_t count, uint32_t *_retval)
|
||||||
{
|
{
|
||||||
// don't have a buffer to read from, so this better not be called!
|
// don't have a buffer to read from, so this better not be called!
|
||||||
NS_NOTREACHED("Consumers should be using Read()!");
|
|
||||||
return NS_ERROR_NOT_IMPLEMENTED;
|
return NS_ERROR_NOT_IMPLEMENTED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче