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:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user