Make webclient compile with Mozilla 1.6. Unit tests still don't run.
M README - update instructions for building and running source and unit tests M build.properties.sample - you need junit.jar M webclient/build-tests.xml - reformat M webclient/build.xml - add "prepare" target to set the PATH_SEP M webclient/src_ie/BookmarksImpl.cpp M webclient/src_ie/CurrentPageImpl.cpp M webclient/src_ie/HistoryImpl.cpp - Account for new javah header names M webclient/src_moz/Makefile.in - account for new location of jawt.lib in J2SDK 1.4.2 M webclient/src_moz/NativeEventThread.cpp +#include "nsEmbedAPI.h" // for NS_HandleEmbeddingEvent M webclient/src_moz/NavigationActionEvents.cpp - result is an nsIInputStream M webclient/src_moz/WrapperFactoryImpl.cpp +#include <nsDependentString.h> // for nsDependentCString and the compile is more strict now. M webclient/src_moz/dom_util.cpp - signature change git-svn-id: svn://10.0.0.236/trunk@153091 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -263,7 +263,7 @@ wsPostEvent::handleEvent ()
|
||||
nsCOMPtr<nsIDocument> doc;
|
||||
nsCOMPtr<nsIContent> content;
|
||||
nsCOMPtr<nsILinkHandler> lh;
|
||||
nsCOMPtr<nsISupports> result;
|
||||
nsCOMPtr<nsIInputStream> result;
|
||||
|
||||
rv = mInitContext->docShell->GetPresShell(getter_AddRefs(presShell));
|
||||
if (NS_FAILED(rv) || !presShell) {
|
||||
@@ -275,7 +275,7 @@ wsPostEvent::handleEvent ()
|
||||
return (void *) rv;
|
||||
}
|
||||
|
||||
rv = doc->GetRootContent(getter_AddRefs(content));
|
||||
content = doc->GetRootContent();
|
||||
if (NS_FAILED(rv) || !content) {
|
||||
return (void *) rv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user