зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
ee94cb397f
Коммит
aaf9e9d2f5
|
@ -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"
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче