Ronald Capelli contributed this fix to make it work with Mozilla
1.3b.
This commit is contained in:
Родитель
bb0cf4e75a
Коммит
b7ddb28024
|
@ -27,6 +27,7 @@
|
|||
* Louis-Philippe Gagnon <louisphilippe@macadamian.com>
|
||||
* Brian Satterfield <bsatterf@atl.lmco.com>
|
||||
* Anthony Sizer <sizera@yahoo.com>
|
||||
* Ron Capelli <capelli@acm.org>
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -158,8 +159,10 @@ wsLoadFromStreamEvent::handleEvent ()
|
|||
// Kick off a LoadStream. This will cause
|
||||
// InputStreamShim::Read() to be called,
|
||||
|
||||
rv = mInitContext->docShell->LoadStream(mShim, uri, mContentType,
|
||||
mShim->getContentLength(),
|
||||
rv = mInitContext->docShell->LoadStream(mShim, uri,
|
||||
nsDependentCString(mContentType,
|
||||
mShim->getContentLength()),
|
||||
NS_LITERAL_CSTRING(""),
|
||||
nsnull);
|
||||
if (mProperties) {
|
||||
JNIEnv *env = (JNIEnv *) JNU_GetEnv(gVm, JNI_VERSION);
|
||||
|
|
Загрузка…
Ссылка в новой задаче