зеркало из https://github.com/mozilla/pjs.git
fixing bogus comment. thanks to biesi for pointing this out.
This commit is contained in:
Родитель
55f29308b2
Коммит
64dbdb9bec
|
@ -180,12 +180,10 @@ NS_NewChannel(nsIChannel **result,
|
|||
return rv;
|
||||
}
|
||||
|
||||
// Use this function with CAUTION. And do not use it on
|
||||
// the UI thread. It creates a stream that blocks when
|
||||
// you Read() from it and blocking the UI thread is
|
||||
// illegal. If you don't want to implement a full
|
||||
// blown asyncrhonous consumer (via nsIStreamListener)
|
||||
// look at nsIStreamLoader instead.
|
||||
// Use this function with CAUTION. It creates a stream that blocks when you
|
||||
// Read() from it and blocking the UI thread is a bad idea. If you don't want
|
||||
// to implement a full blown asyncrhonous consumer (via nsIStreamListener) look
|
||||
// at nsIStreamLoader instead.
|
||||
inline nsresult
|
||||
NS_OpenURI(nsIInputStream **result,
|
||||
nsIURI *uri,
|
||||
|
|
Загрузка…
Ссылка в новой задаче