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