Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408

git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
warren%netscape.com
1999-12-04 10:01:32 +00:00
parent a2b15af9ef
commit c7d8a4a439
82 changed files with 485 additions and 153 deletions

View File

@@ -111,7 +111,7 @@ main(int argc, char* argv[])
nsIChannel *channel = nsnull;
// XXX NECKO verb? loadgroup? getter?
ret = service->NewChannel("load", TEST_URL, nsnull, nsnull, nsnull,
nsIChannel::LOAD_NORMAL, nsnull, &channel);
nsIChannel::LOAD_NORMAL, nsnull, 0, 0, &channel);
if (NS_FAILED(ret)) return ret;
nsIEventQueue *eventQ = nsnull;