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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user