This change-bundle enables webclient to build and run with mozilla 1.7.

The Preferences unit test currently fails, but the test browser runs.
Next step is to make all the unit tests run, then produce the source and
binary distribution for 2.0 alpha 2.

M dom/jni/javaDOMEventsGlobals.cpp

- use nsString.get() instead of nsString.GetBufferHandle()

M webclient/src_moz/NavigationActionEvents.cpp

- don't use ctor initializer for nsString

M webclient/src_moz/ns_util.cpp

- nsString2.h is gone.
This commit is contained in:
edburns%acm.org 2004-09-29 22:01:26 +00:00
Родитель ee94cb397f
Коммит aaf9e9d2f5
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -220,7 +220,7 @@ jobject JavaDOMEventsGlobals::CreateEventSubtype(JNIEnv *env,
return NULL;
}
char* buffer = (char *) eventType.GetBufferHandle();
char* buffer = (char *) eventType.get();
if (isEventOfType(mouseEventTypes, buffer) == JNI_TRUE) {
clazz = mouseEventClass;

Просмотреть файл

@ -100,7 +100,7 @@ wsLoadFromStreamEvent::wsLoadFromStreamEvent(NativeBrowserControl *yourNativeBC,
wsLoadFromStreamEvent::wsLoadFromStreamEvent(NativeBrowserControl *yourNativeBC,
InputStreamShim *yourShim) :
nsActionEvent(), mNativeBrowserControl(yourNativeBC), mUriString(nsnull),
nsActionEvent(), mNativeBrowserControl(yourNativeBC),
mContentType(nsnull), mProperties(nsnull), mShim(yourShim)
{
}

Просмотреть файл

@ -33,7 +33,7 @@
#include "nsIStringBundle.h"
#include "nsIServiceManager.h"
#include "nsString2.h"
#include "nsString.h"
#include "NativeBrowserControl.h"