bug=52883

author=ashuk
r,a=edburns

Make webclient work with the tip.


git-svn-id: svn://10.0.0.236/trunk@80080 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
edburns%acm.org
2000-09-28 21:37:25 +00:00
parent a89066e266
commit 825bc96e67
3 changed files with 8 additions and 15 deletions

View File

@@ -38,9 +38,12 @@
#include "nsISHEntry.h"
#include "nsIURI.h"
#include "nsIDocShellTreeItem.h"
#include "nsIWebNavigation.h"
#include "ns_util.h"
#include "nsEmbedAPI.h" // for NS_TermEmbedding
void * handleEvent (PLEvent * event);
void destroyEvent (PLEvent * event);
@@ -135,7 +138,7 @@ void *
wsLoadURLEvent::handleEvent ()
{
if (mWebNavigation && mURL) {
nsresult rv = mWebNavigation->LoadURI(mURL->GetUnicode());
nsresult rv = mWebNavigation->LoadURI(mURL->GetUnicode(), nsIWebNavigation::LOAD_FLAGS_NONE);
}
return nsnull;
} // handleEvent()
@@ -743,7 +746,7 @@ wsDeallocateInitContextEvent::handleEvent ()
util_DeallocateShareInitContext(&(mInitContext->shareContext));
// delete mInitContext;
NS_TermEmbedding();
return (void *) NS_OK;
} // handleEvent()