Webclient compiles with 1.3A but does not yet link.
git-svn-id: svn://10.0.0.236/trunk@136229 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -206,8 +206,7 @@ wsLoadFromStreamEvent::~wsLoadFromStreamEvent ()
|
||||
* wsPostEvent
|
||||
*/
|
||||
wsPostEvent::wsPostEvent(WebShellInitContext *yourInitContext,
|
||||
const PRUnichar *absoluteUrlToCopy,
|
||||
PRInt32 absoluteUrlLength,
|
||||
nsIURI *absoluteUri,
|
||||
const PRUnichar *targetToCopy,
|
||||
PRInt32 targetLength,
|
||||
PRInt32 postDataLength,
|
||||
@@ -217,8 +216,7 @@ wsPostEvent::wsPostEvent(WebShellInitContext *yourInitContext,
|
||||
nsActionEvent(),
|
||||
mInitContext(yourInitContext)
|
||||
{
|
||||
mAbsoluteURL = new nsString(absoluteUrlToCopy, absoluteUrlLength);
|
||||
|
||||
mAbsoluteURI = absoluteUri;
|
||||
if (targetToCopy != nsnull){
|
||||
mTarget = new nsString(targetToCopy, targetLength);
|
||||
}
|
||||
@@ -320,7 +318,7 @@ wsPostEvent::handleEvent ()
|
||||
|
||||
rv = lh->OnLinkClick(content,
|
||||
eLinkVerb_Replace,
|
||||
mAbsoluteURL->get(),
|
||||
mAbsoluteURI,
|
||||
((mTarget != nsnull) ? mTarget->get() : nsnull),
|
||||
postDataStream,
|
||||
headersDataStream);
|
||||
@@ -331,8 +329,7 @@ wsPostEvent::handleEvent ()
|
||||
|
||||
wsPostEvent::~wsPostEvent ()
|
||||
{
|
||||
if (mAbsoluteURL != nsnull)
|
||||
delete mAbsoluteURL;
|
||||
mAbsoluteURI = nsnull;
|
||||
if (mTarget != nsnull)
|
||||
delete mTarget;
|
||||
mPostData = nsnull;
|
||||
|
||||
Reference in New Issue
Block a user